.class public Lcom/waiqin365/lightapp/syorder/product/SyProductSelectActivity;
.super Lcom/waiqin365/lightapp/base/WqBaseActivity;

# interfaces
.implements Landroid/view/View$OnClickListener;


# instance fields
.field private A:Z

.field private B:Z

.field private C:Lcom/waiqin365/lightapp/syorder/product/v;

.field a:F

.field b:I

.field c:I

.field d:I

.field e:I

.field private f:Lcom/waiqin365/lightapp/kehu/view/FloatScrollView;

.field private g:Landroid/widget/LinearLayout;

.field private h:Lcom/waiqin365/lightapp/dailyreport/view/CustomListview;

.field private i:Landroid/view/View;

.field private j:Landroid/widget/Button;

.field private k:Landroid/view/View;

.field private l:Landroid/view/View;

.field private m:Lcom/waiqin365/base/login/mainview/TitleBar;

.field private n:Lcom/waiqin365/lightapp/view/NoNetView;

.field private o:Lcom/waiqin365/lightapp/syorder/product/b/a;

.field private p:Ljava/util/List;

.field private q:Ljava/util/List;

.field private r:Ljava/util/List;

.field private s:Landroid/widget/TextView;

.field private t:Landroid/widget/LinearLayout$LayoutParams;

.field private u:Landroid/widget/LinearLayout$LayoutParams;

.field private v:Landroid/widget/AbsListView$LayoutParams;

.field private w:Lcom/waiqin365/lightapp/syorder/product/a/m;

.field private x:Ljava/util/List;

.field private y:I

.field private z:I


# direct methods
.method public constructor <init>()V
    .locals 2

    const/4 v1, 0x0

    invoke-direct {p0}, Lcom/waiqin365/lightapp/base/WqBaseActivity;-><init>()V

    new-instance v0, Ljava/util/ArrayList;

    invoke-direct {v0}, Ljava/util/ArrayList;-><init>()V

    iput-object v0, p0, Lcom/waiqin365/lightapp/syorder/product/SyProductSelectActivity;->p:Ljava/util/List;

    new-instance v0, Ljava/util/ArrayList;

    invoke-direct {v0}, Ljava/util/ArrayList;-><init>()V

    iput-object v0, p0, Lcom/waiqin365/lightapp/syorder/product/SyProductSelectActivity;->q:Ljava/util/List;

    new-instance v0, Ljava/util/ArrayList;

    invoke-direct {v0}, Ljava/util/ArrayList;-><init>()V

    iput-object v0, p0, Lcom/waiqin365/lightapp/syorder/product/SyProductSelectActivity;->r:Ljava/util/List;

    new-instance v0, Ljava/util/ArrayList;

    invoke-direct {v0}, Ljava/util/ArrayList;-><init>()V

    iput-object v0, p0, Lcom/waiqin365/lightapp/syorder/product/SyProductSelectActivity;->x:Ljava/util/List;

    const-string/jumbo v0, "#ff9008"

    invoke-static {v0}, Landroid/graphics/Color;->parseColor(Ljava/lang/String;)I

    move-result v0

    iput v0, p0, Lcom/waiqin365/lightapp/syorder/product/SyProductSelectActivity;->y:I

    const-string/jumbo v0, "#000000"

    invoke-static {v0}, Landroid/graphics/Color;->parseColor(Ljava/lang/String;)I

    move-result v0

    iput v0, p0, Lcom/waiqin365/lightapp/syorder/product/SyProductSelectActivity;->z:I

    iput-boolean v1, p0, Lcom/waiqin365/lightapp/syorder/product/SyProductSelectActivity;->A:Z

    iput-boolean v1, p0, Lcom/waiqin365/lightapp/syorder/product/SyProductSelectActivity;->B:Z

    return-void
.end method

.method static synthetic a(Lcom/waiqin365/lightapp/syorder/product/SyProductSelectActivity;Ljava/lang/String;)Lcom/waiqin365/lightapp/product/d/h;
    .locals 1

    invoke-direct {p0, p1}, Lcom/waiqin365/lightapp/syorder/product/SyProductSelectActivity;->a(Ljava/lang/String;)Lcom/waiqin365/lightapp/product/d/h;

    move-result-object v0

    return-object v0
.end method

.method private a(Ljava/lang/String;)Lcom/waiqin365/lightapp/product/d/h;
    .locals 5

    const/4 v2, 0x0

    const/4 v0, 0x0

    move v1, v0

    :goto_0
    invoke-static {}, Lcom/waiqin365/lightapp/syorder/ap;->a()Lcom/waiqin365/lightapp/syorder/ap;

    move-result-object v0

    iget-object v0, v0, Lcom/waiqin365/lightapp/syorder/ap;->e:Ljava/util/List;

    invoke-interface {v0}, Ljava/util/List;->size()I

    move-result v0

    if-ge v1, v0, :cond_1

    invoke-static {}, Lcom/waiqin365/lightapp/syorder/ap;->a()Lcom/waiqin365/lightapp/syorder/ap;

    move-result-object v0

    iget-object v0, v0, Lcom/waiqin365/lightapp/syorder/ap;->e:Ljava/util/List;

    invoke-interface {v0, v1}, Ljava/util/List;->get(I)Ljava/lang/Object;

    move-result-object v0

    check-cast v0, Lcom/waiqin365/lightapp/product/d/h;

    new-instance v3, Ljava/lang/StringBuilder;

    invoke-direct {v3}, Ljava/lang/StringBuilder;-><init>()V

    invoke-virtual {v3, p1}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v3

    const-string/jumbo v4, ""

    invoke-virtual {v3, v4}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v3

    invoke-virtual {v3}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;

    move-result-object v3

    iget-object v4, v0, Lcom/waiqin365/lightapp/product/d/h;->a:Ljava/lang/String;

    invoke-virtual {v3, v4}, Ljava/lang/String;->equals(Ljava/lang/Object;)Z

    move-result v3

    if-eqz v3, :cond_0

    new-instance v1, Lcom/waiqin365/lightapp/product/d/h;

    invoke-direct {v1}, Lcom/waiqin365/lightapp/product/d/h;-><init>()V

    iget-object v2, v0, Lcom/waiqin365/lightapp/product/d/h;->a:Ljava/lang/String;

    iput-object v2, v1, Lcom/waiqin365/lightapp/product/d/h;->a:Ljava/lang/String;

    iget-object v2, v0, Lcom/waiqin365/lightapp/product/d/h;->b:Ljava/lang/String;

    iput-object v2, v1, Lcom/waiqin365/lightapp/product/d/h;->b:Ljava/lang/String;

    iget-object v0, v0, Lcom/waiqin365/lightapp/product/d/h;->c:Ljava/lang/String;

    iput-object v0, v1, Lcom/waiqin365/lightapp/product/d/h;->c:Ljava/lang/String;

    move-object v0, v1

    :goto_1
    return-object v0

    :cond_0
    add-int/lit8 v0, v1, 0x1

    move v1, v0

    goto :goto_0

    :cond_1
    move-object v0, v2

    goto :goto_1
.end method

.method static synthetic a(Lcom/waiqin365/lightapp/syorder/product/SyProductSelectActivity;)Lcom/waiqin365/lightapp/syorder/product/b/a;
    .locals 1

    iget-object v0, p0, Lcom/waiqin365/lightapp/syorder/product/SyProductSelectActivity;->o:Lcom/waiqin365/lightapp/syorder/product/b/a;

    return-object v0
.end method

.method private a()V
    .locals 2

    const v0, 0x7f0c09ff

    invoke-virtual {p0, v0}, Lcom/waiqin365/lightapp/syorder/product/SyProductSelectActivity;->findViewById(I)Landroid/view/View;

    move-result-object v0

    check-cast v0, Lcom/waiqin365/lightapp/kehu/view/FloatScrollView;

    iput-object v0, p0, Lcom/waiqin365/lightapp/syorder/product/SyProductSelectActivity;->f:Lcom/waiqin365/lightapp/kehu/view/FloatScrollView;

    const v0, 0x7f0c0867

    invoke-virtual {p0, v0}, Lcom/waiqin365/lightapp/syorder/product/SyProductSelectActivity;->findViewById(I)Landroid/view/View;

    move-result-object v0

    check-cast v0, Landroid/widget/LinearLayout;

    iput-object v0, p0, Lcom/waiqin365/lightapp/syorder/product/SyProductSelectActivity;->g:Landroid/widget/LinearLayout;

    const v0, 0x7f0c0a00

    invoke-virtual {p0, v0}, Lcom/waiqin365/lightapp/syorder/product/SyProductSelectActivity;->findViewById(I)Landroid/view/View;

    move-result-object v0

    check-cast v0, Lcom/waiqin365/lightapp/dailyreport/view/CustomListview;

    iput-object v0, p0, Lcom/waiqin365/lightapp/syorder/product/SyProductSelectActivity;->h:Lcom/waiqin365/lightapp/dailyreport/view/CustomListview;

    const v0, 0x7f0c050d

    invoke-virtual {p0, v0}, Lcom/waiqin365/lightapp/syorder/product/SyProductSelectActivity;->findViewById(I)Landroid/view/View;

    move-result-object v0

    iput-object v0, p0, Lcom/waiqin365/lightapp/syorder/product/SyProductSelectActivity;->i:Landroid/view/View;

    const v0, 0x7f0c0504

    invoke-virtual {p0, v0}, Lcom/waiqin365/lightapp/syorder/product/SyProductSelectActivity;->findViewById(I)Landroid/view/View;

    move-result-object v0

    check-cast v0, Landroid/widget/Button;

    iput-object v0, p0, Lcom/waiqin365/lightapp/syorder/product/SyProductSelectActivity;->j:Landroid/widget/Button;

    const v0, 0x7f0c09fc

    invoke-virtual {p0, v0}, Lcom/waiqin365/lightapp/syorder/product/SyProductSelectActivity;->findViewById(I)Landroid/view/View;

    move-result-object v0

    iput-object v0, p0, Lcom/waiqin365/lightapp/syorder/product/SyProductSelectActivity;->k:Landroid/view/View;

    const v0, 0x7f0c09fd

    invoke-virtual {p0, v0}, Lcom/waiqin365/lightapp/syorder/product/SyProductSelectActivity;->findViewById(I)Landroid/view/View;

    move-result-object v0

    iput-object v0, p0, Lcom/waiqin365/lightapp/syorder/product/SyProductSelectActivity;->l:Landroid/view/View;

    const v0, 0x7f0c0523

    invoke-virtual {p0, v0}, Lcom/waiqin365/lightapp/syorder/product/SyProductSelectActivity;->findViewById(I)Landroid/view/View;

    move-result-object v0

    check-cast v0, Lcom/waiqin365/base/login/mainview/TitleBar;

    iput-object v0, p0, Lcom/waiqin365/lightapp/syorder/product/SyProductSelectActivity;->m:Lcom/waiqin365/base/login/mainview/TitleBar;

    new-instance v0, Landroid/widget/TextView;

    iget-object v1, p0, Lcom/waiqin365/lightapp/syorder/product/SyProductSelectActivity;->mContext:Landroid/content/Context;

    invoke-direct {v0, v1}, Landroid/widget/TextView;-><init>(Landroid/content/Context;)V

    iput-object v0, p0, Lcom/waiqin365/lightapp/syorder/product/SyProductSelectActivity;->s:Landroid/widget/TextView;

    const v0, 0x7f0c0a01

    invoke-virtual {p0, v0}, Lcom/waiqin365/lightapp/syorder/product/SyProductSelectActivity;->findViewById(I)Landroid/view/View;

    move-result-object v0

    check-cast v0, Lcom/waiqin365/lightapp/view/NoNetView;

    iput-object v0, p0, Lcom/waiqin365/lightapp/syorder/product/SyProductSelectActivity;->n:Lcom/waiqin365/lightapp/view/NoNetView;

    iget-object v0, p0, Lcom/waiqin365/lightapp/syorder/product/SyProductSelectActivity;->n:Lcom/waiqin365/lightapp/view/NoNetView;

    new-instance v1, Lcom/waiqin365/lightapp/syorder/product/l;

    invoke-direct {v1, p0}, Lcom/waiqin365/lightapp/syorder/product/l;-><init>(Lcom/waiqin365/lightapp/syorder/product/SyProductSelectActivity;)V

    invoke-virtual {v0, v1}, Lcom/waiqin365/lightapp/view/NoNetView;->setOnClickListener(Landroid/view/View$OnClickListener;)V

    iget-object v0, p0, Lcom/waiqin365/lightapp/syorder/product/SyProductSelectActivity;->o:Lcom/waiqin365/lightapp/syorder/product/b/a;

    iget-boolean v0, v0, Lcom/waiqin365/lightapp/syorder/product/b/a;->a:Z

    if-eqz v0, :cond_0

    iget-object v0, p0, Lcom/waiqin365/lightapp/syorder/product/SyProductSelectActivity;->o:Lcom/waiqin365/lightapp/syorder/product/b/a;

    iget-boolean v0, v0, Lcom/waiqin365/lightapp/syorder/product/b/a;->b:Z

    if-nez v0, :cond_1

    :cond_0
    iget-object v0, p0, Lcom/waiqin365/lightapp/syorder/product/SyProductSelectActivity;->i:Landroid/view/View;

    const/16 v1, 0x8

    invoke-virtual {v0, v1}, Landroid/view/View;->setVisibility(I)V

    :cond_1
    return-void
.end method

.method private a(I)V
    .locals 3

    if-lez p1, :cond_0

    iget-object v0, p0, Lcom/waiqin365/lightapp/syorder/product/SyProductSelectActivity;->j:Landroid/widget/Button;

    const/4 v1, 0x1

    invoke-virtual {v0, v1}, Landroid/widget/Button;->setEnabled(Z)V

    iget-object v0, p0, Lcom/waiqin365/lightapp/syorder/product/SyProductSelectActivity;->j:Landroid/widget/Button;

    new-instance v1, Ljava/lang/StringBuilder;

    invoke-direct {v1}, Ljava/lang/StringBuilder;-><init>()V

    const-string/jumbo v2, "\u786e\u5b9a("

    invoke-virtual {v1, v2}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v1

    invoke-virtual {v1, p1}, Ljava/lang/StringBuilder;->append(I)Ljava/lang/StringBuilder;

    move-result-object v1

    const-string/jumbo v2, ")"

    invoke-virtual {v1, v2}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v1

    invoke-virtual {v1}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;

    move-result-object v1

    invoke-virtual {v0, v1}, Landroid/widget/Button;->setText(Ljava/lang/CharSequence;)V

    :goto_0
    return-void

    :cond_0
    iget-object v0, p0, Lcom/waiqin365/lightapp/syorder/product/SyProductSelectActivity;->j:Landroid/widget/Button;

    const/4 v1, 0x0

    invoke-virtual {v0, v1}, Landroid/widget/Button;->setEnabled(Z)V

    iget-object v0, p0, Lcom/waiqin365/lightapp/syorder/product/SyProductSelectActivity;->j:Landroid/widget/Button;

    const-string/jumbo v1, "\u786e\u5b9a"

    invoke-virtual {v0, v1}, Landroid/widget/Button;->setText(Ljava/lang/CharSequence;)V

    goto :goto_0
.end method

.method private a(Lcom/waiqin365/lightapp/product/d/h;)V
    .locals 10

    const/4 v9, 0x0

    const/4 v2, 0x0

    move v1, v2

    :goto_0
    iget-object v0, p0, Lcom/waiqin365/lightapp/syorder/product/SyProductSelectActivity;->p:Ljava/util/List;

    invoke-interface {v0}, Ljava/util/List;->size()I

    move-result v0

    if-ge v1, v0, :cond_0

    iget-object v3, p0, Lcom/waiqin365/lightapp/syorder/product/SyProductSelectActivity;->h:Lcom/waiqin365/lightapp/dailyreport/view/CustomListview;

    iget-object v0, p0, Lcom/waiqin365/lightapp/syorder/product/SyProductSelectActivity;->p:Ljava/util/List;

    invoke-interface {v0, v1}, Ljava/util/List;->get(I)Ljava/lang/Object;

    move-result-object v0

    check-cast v0, Landroid/view/View;

    invoke-virtual {v3, v0}, Lcom/waiqin365/lightapp/dailyreport/view/CustomListview;->removeHeaderView(Landroid/view/View;)Z

    add-int/lit8 v0, v1, 0x1

    move v1, v0

    goto :goto_0

    :cond_0
    iget-object v0, p0, Lcom/waiqin365/lightapp/syorder/product/SyProductSelectActivity;->p:Ljava/util/List;

    invoke-interface {v0}, Ljava/util/List;->clear()V

    iget-object v0, p0, Lcom/waiqin365/lightapp/syorder/product/SyProductSelectActivity;->o:Lcom/waiqin365/lightapp/syorder/product/b/a;

    iget-object v0, v0, Lcom/waiqin365/lightapp/syorder/product/b/a;->d:Lcom/waiqin365/lightapp/syorder/product/b/b;

    const-string/jumbo v1, "1"

    iput-object v1, v0, Lcom/waiqin365/lightapp/syorder/product/b/b;->d:Ljava/lang/String;

    const-string/jumbo v0, "-1"

    iget-object v1, p1, Lcom/waiqin365/lightapp/product/d/h;->a:Ljava/lang/String;

    invoke-virtual {v0, v1}, Ljava/lang/String;->equals(Ljava/lang/Object;)Z

    move-result v0

    if-nez v0, :cond_1

    invoke-direct {p0, p1}, Lcom/waiqin365/lightapp/syorder/product/SyProductSelectActivity;->b(Lcom/waiqin365/lightapp/product/d/h;)Ljava/util/List;

    move-result-object v3

    if-eqz v3, :cond_1

    invoke-interface {v3}, Ljava/util/List;->size()I

    move-result v0

    if-lez v0, :cond_1

    move v1, v2

    :goto_1
    invoke-interface {v3}, Ljava/util/List;->size()I

    move-result v0

    if-ge v1, v0, :cond_1

    new-instance v4, Landroid/widget/TextView;

    iget-object v0, p0, Lcom/waiqin365/lightapp/syorder/product/SyProductSelectActivity;->mContext:Landroid/content/Context;

    invoke-direct {v4, v0}, Landroid/widget/TextView;-><init>(Landroid/content/Context;)V

    iget-object v0, p0, Lcom/waiqin365/lightapp/syorder/product/SyProductSelectActivity;->mContext:Landroid/content/Context;

    iget v5, p0, Lcom/waiqin365/lightapp/syorder/product/SyProductSelectActivity;->d:I

    int-to-float v5, v5

    invoke-static {v0, v5}, Lcom/fiberhome/gaea/client/d/k;->b(Landroid/content/Context;F)I

    move-result v0

    iget-object v5, p0, Lcom/waiqin365/lightapp/syorder/product/SyProductSelectActivity;->mContext:Landroid/content/Context;

    iget v6, p0, Lcom/waiqin365/lightapp/syorder/product/SyProductSelectActivity;->b:I

    int-to-float v6, v6

    invoke-static {v5, v6}, Lcom/fiberhome/gaea/client/d/k;->b(Landroid/content/Context;F)I

    move-result v5

    iget-object v6, p0, Lcom/waiqin365/lightapp/syorder/product/SyProductSelectActivity;->mContext:Landroid/content/Context;

    iget v7, p0, Lcom/waiqin365/lightapp/syorder/product/SyProductSelectActivity;->e:I

    int-to-float v7, v7

    invoke-static {v6, v7}, Lcom/fiberhome/gaea/client/d/k;->b(Landroid/content/Context;F)I

    move-result v6

    iget-object v7, p0, Lcom/waiqin365/lightapp/syorder/product/SyProductSelectActivity;->mContext:Landroid/content/Context;

    iget v8, p0, Lcom/waiqin365/lightapp/syorder/product/SyProductSelectActivity;->c:I

    int-to-float v8, v8

    invoke-static {v7, v8}, Lcom/fiberhome/gaea/client/d/k;->b(Landroid/content/Context;F)I

    move-result v7

    invoke-virtual {v4, v0, v5, v6, v7}, Landroid/widget/TextView;->setPadding(IIII)V

    const/4 v0, -0x1

    invoke-virtual {v4, v0}, Landroid/widget/TextView;->setBackgroundColor(I)V

    invoke-interface {v3, v1}, Ljava/util/List;->get(I)Ljava/lang/Object;

    move-result-object v0

    check-cast v0, Lcom/waiqin365/lightapp/product/d/h;

    iget-object v0, v0, Lcom/waiqin365/lightapp/product/d/h;->c:Ljava/lang/String;

    invoke-virtual {v4, v0}, Landroid/widget/TextView;->setText(Ljava/lang/CharSequence;)V

    iget v0, p0, Lcom/waiqin365/lightapp/syorder/product/SyProductSelectActivity;->a:F

    invoke-virtual {v4, v0}, Landroid/widget/TextView;->setTextSize(F)V

    invoke-interface {v3, v1}, Ljava/util/List;->get(I)Ljava/lang/Object;

    move-result-object v0

    invoke-virtual {v4, v0}, Landroid/widget/TextView;->setTag(Ljava/lang/Object;)V

    invoke-virtual {p0}, Lcom/waiqin365/lightapp/syorder/product/SyProductSelectActivity;->getResources()Landroid/content/res/Resources;

    move-result-object v0

    const v5, 0x7f02001e

    invoke-virtual {v0, v5}, Landroid/content/res/Resources;->getDrawable(I)Landroid/graphics/drawable/Drawable;

    move-result-object v0

    invoke-virtual {v4, v9, v9, v0, v9}, Landroid/widget/TextView;->setCompoundDrawablesWithIntrinsicBounds(Landroid/graphics/drawable/Drawable;Landroid/graphics/drawable/Drawable;Landroid/graphics/drawable/Drawable;Landroid/graphics/drawable/Drawable;)V

    new-instance v0, Lcom/waiqin365/lightapp/syorder/product/s;

    invoke-direct {v0, p0}, Lcom/waiqin365/lightapp/syorder/product/s;-><init>(Lcom/waiqin365/lightapp/syorder/product/SyProductSelectActivity;)V

    invoke-virtual {v4, v0}, Landroid/widget/TextView;->setOnClickListener(Landroid/view/View$OnClickListener;)V

    iget-object v0, p0, Lcom/waiqin365/lightapp/syorder/product/SyProductSelectActivity;->p:Ljava/util/List;

    invoke-interface {v0, v4}, Ljava/util/List;->add(Ljava/lang/Object;)Z

    iget-object v0, p0, Lcom/waiqin365/lightapp/syorder/product/SyProductSelectActivity;->h:Lcom/waiqin365/lightapp/dailyreport/view/CustomListview;

    invoke-virtual {v0, v4}, Lcom/waiqin365/lightapp/dailyreport/view/CustomListview;->addHeaderView(Landroid/view/View;)V

    new-instance v0, Landroid/view/View;

    iget-object v4, p0, Lcom/waiqin365/lightapp/syorder/product/SyProductSelectActivity;->mContext:Landroid/content/Context;

    invoke-direct {v0, v4}, Landroid/view/View;-><init>(Landroid/content/Context;)V

    const v4, 0x7f020283

    invoke-virtual {v0, v4}, Landroid/view/View;->setBackgroundResource(I)V

    iget-object v4, p0, Lcom/waiqin365/lightapp/syorder/product/SyProductSelectActivity;->v:Landroid/widget/AbsListView$LayoutParams;

    invoke-virtual {v0, v4}, Landroid/view/View;->setLayoutParams(Landroid/view/ViewGroup$LayoutParams;)V

    iget-object v4, p0, Lcom/waiqin365/lightapp/syorder/product/SyProductSelectActivity;->p:Ljava/util/List;

    invoke-interface {v4, v0}, Ljava/util/List;->add(Ljava/lang/Object;)Z

    iget-object v4, p0, Lcom/waiqin365/lightapp/syorder/product/SyProductSelectActivity;->h:Lcom/waiqin365/lightapp/dailyreport/view/CustomListview;

    invoke-virtual {v4, v0}, Lcom/waiqin365/lightapp/dailyreport/view/CustomListview;->addHeaderView(Landroid/view/View;)V

    add-int/lit8 v0, v1, 0x1

    move v1, v0

    goto/16 :goto_1

    :cond_1
    const-string/jumbo v0, "-1"

    iget-object v1, p1, Lcom/waiqin365/lightapp/product/d/h;->a:Ljava/lang/String;

    invoke-virtual {v0, v1}, Ljava/lang/String;->equals(Ljava/lang/Object;)Z

    move-result v0

    if-eqz v0, :cond_4

    iget-object v0, p0, Lcom/waiqin365/lightapp/syorder/product/SyProductSelectActivity;->o:Lcom/waiqin365/lightapp/syorder/product/b/a;

    iget-object v0, v0, Lcom/waiqin365/lightapp/syorder/product/b/a;->d:Lcom/waiqin365/lightapp/syorder/product/b/b;

    const-string/jumbo v1, ""

    iput-object v1, v0, Lcom/waiqin365/lightapp/syorder/product/b/b;->a:Ljava/lang/String;

    :goto_2
    iget-boolean v0, p0, Lcom/waiqin365/lightapp/syorder/product/SyProductSelectActivity;->B:Z

    if-nez v0, :cond_3

    const-string/jumbo v0, "1"

    iget-object v1, p0, Lcom/waiqin365/lightapp/syorder/product/SyProductSelectActivity;->o:Lcom/waiqin365/lightapp/syorder/product/b/a;

    iget-object v1, v1, Lcom/waiqin365/lightapp/syorder/product/b/a;->d:Lcom/waiqin365/lightapp/syorder/product/b/b;

    iget-object v1, v1, Lcom/waiqin365/lightapp/syorder/product/b/b;->d:Ljava/lang/String;

    invoke-virtual {v0, v1}, Ljava/lang/String;->equals(Ljava/lang/Object;)Z

    move-result v0

    if-eqz v0, :cond_2

    iget-object v0, p0, Lcom/waiqin365/lightapp/syorder/product/SyProductSelectActivity;->x:Ljava/util/List;

    invoke-interface {v0}, Ljava/util/List;->clear()V

    iget-object v0, p0, Lcom/waiqin365/lightapp/syorder/product/SyProductSelectActivity;->w:Lcom/waiqin365/lightapp/syorder/product/a/m;

    invoke-virtual {v0}, Lcom/waiqin365/lightapp/syorder/product/a/m;->notifyDataSetChanged()V

    iget-object v0, p0, Lcom/waiqin365/lightapp/syorder/product/SyProductSelectActivity;->h:Lcom/waiqin365/lightapp/dailyreport/view/CustomListview;

    invoke-virtual {v0}, Lcom/waiqin365/lightapp/dailyreport/view/CustomListview;->f()V

    :cond_2
    iget-object v0, p0, Lcom/waiqin365/lightapp/syorder/product/SyProductSelectActivity;->n:Lcom/waiqin365/lightapp/view/NoNetView;

    const/16 v1, 0x8

    invoke-virtual {v0, v1}, Lcom/waiqin365/lightapp/view/NoNetView;->setVisibility(I)V

    iget-object v0, p0, Lcom/waiqin365/lightapp/syorder/product/SyProductSelectActivity;->h:Lcom/waiqin365/lightapp/dailyreport/view/CustomListview;

    invoke-virtual {v0, v2}, Lcom/waiqin365/lightapp/dailyreport/view/CustomListview;->setVisibility(I)V

    iget-object v0, p0, Lcom/waiqin365/lightapp/syorder/product/SyProductSelectActivity;->h:Lcom/waiqin365/lightapp/dailyreport/view/CustomListview;

    invoke-virtual {v0}, Lcom/waiqin365/lightapp/dailyreport/view/CustomListview;->e()V

    :cond_3
    return-void

    :cond_4
    iget-object v0, p0, Lcom/waiqin365/lightapp/syorder/product/SyProductSelectActivity;->o:Lcom/waiqin365/lightapp/syorder/product/b/a;

    iget-object v0, v0, Lcom/waiqin365/lightapp/syorder/product/b/a;->d:Lcom/waiqin365/lightapp/syorder/product/b/b;

    iget-object v1, p1, Lcom/waiqin365/lightapp/product/d/h;->a:Ljava/lang/String;

    iput-object v1, v0, Lcom/waiqin365/lightapp/syorder/product/b/b;->a:Ljava/lang/String;

    goto :goto_2
.end method

.method private a(Lcom/waiqin365/lightapp/product/d/h;Ljava/lang/String;)V
    .locals 9

    const/4 v3, -0x1

    const/4 v4, 0x0

    const/4 v2, 0x0

    iget-object v0, p0, Lcom/waiqin365/lightapp/syorder/product/SyProductSelectActivity;->g:Landroid/widget/LinearLayout;

    invoke-virtual {v0}, Landroid/widget/LinearLayout;->removeAllViews()V

    iget-object v0, p0, Lcom/waiqin365/lightapp/syorder/product/SyProductSelectActivity;->r:Ljava/util/List;

    iget-object v1, p0, Lcom/waiqin365/lightapp/syorder/product/SyProductSelectActivity;->q:Ljava/util/List;

    invoke-interface {v0, v1}, Ljava/util/List;->addAll(Ljava/util/Collection;)Z

    iget-object v0, p0, Lcom/waiqin365/lightapp/syorder/product/SyProductSelectActivity;->q:Ljava/util/List;

    invoke-interface {v0}, Ljava/util/List;->clear()V

    iget-object v0, p0, Lcom/waiqin365/lightapp/syorder/product/SyProductSelectActivity;->s:Landroid/widget/TextView;

    invoke-virtual {v0, p1}, Landroid/widget/TextView;->setTag(Ljava/lang/Object;)V

    invoke-direct {p0, p1}, Lcom/waiqin365/lightapp/syorder/product/SyProductSelectActivity;->b(Lcom/waiqin365/lightapp/product/d/h;)Ljava/util/List;

    move-result-object v5

    const-string/jumbo v0, "-1"

    iget-object v1, p1, Lcom/waiqin365/lightapp/product/d/h;->a:Ljava/lang/String;

    invoke-virtual {v0, v1}, Ljava/lang/String;->equals(Ljava/lang/Object;)Z

    move-result v0

    if-eqz v0, :cond_1

    iget-object v0, p0, Lcom/waiqin365/lightapp/syorder/product/SyProductSelectActivity;->s:Landroid/widget/TextView;

    invoke-virtual {v0, v3}, Landroid/widget/TextView;->setBackgroundColor(I)V

    iget-object v0, p0, Lcom/waiqin365/lightapp/syorder/product/SyProductSelectActivity;->s:Landroid/widget/TextView;

    invoke-virtual {v0, v2, v2, v2, v2}, Landroid/widget/TextView;->setCompoundDrawablesWithIntrinsicBounds(Landroid/graphics/drawable/Drawable;Landroid/graphics/drawable/Drawable;Landroid/graphics/drawable/Drawable;Landroid/graphics/drawable/Drawable;)V

    iget-object v0, p0, Lcom/waiqin365/lightapp/syorder/product/SyProductSelectActivity;->s:Landroid/widget/TextView;

    new-instance v1, Lcom/waiqin365/lightapp/syorder/product/t;

    invoke-direct {v1, p0}, Lcom/waiqin365/lightapp/syorder/product/t;-><init>(Lcom/waiqin365/lightapp/syorder/product/SyProductSelectActivity;)V

    invoke-virtual {v0, v1}, Landroid/widget/TextView;->setOnClickListener(Landroid/view/View$OnClickListener;)V

    iget-object v0, p0, Lcom/waiqin365/lightapp/syorder/product/SyProductSelectActivity;->s:Landroid/widget/TextView;

    invoke-virtual {v0, v3}, Landroid/widget/TextView;->setBackgroundColor(I)V

    iget-object v0, p0, Lcom/waiqin365/lightapp/syorder/product/SyProductSelectActivity;->s:Landroid/widget/TextView;

    iget-object v1, p1, Lcom/waiqin365/lightapp/product/d/h;->c:Ljava/lang/String;

    invoke-virtual {v0, v1}, Landroid/widget/TextView;->setText(Ljava/lang/CharSequence;)V

    if-eqz v5, :cond_0

    invoke-interface {v5}, Ljava/util/List;->size()I

    move-result v0

    if-nez v0, :cond_2

    :cond_0
    iget-object v0, p0, Lcom/waiqin365/lightapp/syorder/product/SyProductSelectActivity;->f:Lcom/waiqin365/lightapp/kehu/view/FloatScrollView;

    const/16 v1, 0x8

    invoke-virtual {v0, v1}, Lcom/waiqin365/lightapp/kehu/view/FloatScrollView;->setVisibility(I)V

    :goto_0
    return-void

    :cond_1
    iget-object v0, p0, Lcom/waiqin365/lightapp/syorder/product/SyProductSelectActivity;->s:Landroid/widget/TextView;

    invoke-virtual {v0, v4}, Landroid/widget/TextView;->setBackgroundColor(I)V

    iget-object v0, p0, Lcom/waiqin365/lightapp/syorder/product/SyProductSelectActivity;->s:Landroid/widget/TextView;

    const-string/jumbo v1, "  \u4e0a\u7ea7"

    invoke-virtual {v0, v1}, Landroid/widget/TextView;->setText(Ljava/lang/CharSequence;)V

    iget-object v0, p0, Lcom/waiqin365/lightapp/syorder/product/SyProductSelectActivity;->s:Landroid/widget/TextView;

    invoke-virtual {p0}, Lcom/waiqin365/lightapp/syorder/product/SyProductSelectActivity;->getResources()Landroid/content/res/Resources;

    move-result-object v1

    const v3, 0x7f020021

    invoke-virtual {v1, v3}, Landroid/content/res/Resources;->getDrawable(I)Landroid/graphics/drawable/Drawable;

    move-result-object v1

    invoke-virtual {v0, v1, v2, v2, v2}, Landroid/widget/TextView;->setCompoundDrawablesWithIntrinsicBounds(Landroid/graphics/drawable/Drawable;Landroid/graphics/drawable/Drawable;Landroid/graphics/drawable/Drawable;Landroid/graphics/drawable/Drawable;)V

    iget-object v0, p0, Lcom/waiqin365/lightapp/syorder/product/SyProductSelectActivity;->s:Landroid/widget/TextView;

    new-instance v1, Lcom/waiqin365/lightapp/syorder/product/u;

    invoke-direct {v1, p0}, Lcom/waiqin365/lightapp/syorder/product/u;-><init>(Lcom/waiqin365/lightapp/syorder/product/SyProductSelectActivity;)V

    invoke-virtual {v0, v1}, Landroid/widget/TextView;->setOnClickListener(Landroid/view/View$OnClickListener;)V

    :cond_2
    iget-object v0, p0, Lcom/waiqin365/lightapp/syorder/product/SyProductSelectActivity;->g:Landroid/widget/LinearLayout;

    iget-object v1, p0, Lcom/waiqin365/lightapp/syorder/product/SyProductSelectActivity;->s:Landroid/widget/TextView;

    iget-object v3, p0, Lcom/waiqin365/lightapp/syorder/product/SyProductSelectActivity;->t:Landroid/widget/LinearLayout$LayoutParams;

    invoke-virtual {v0, v1, v3}, Landroid/widget/LinearLayout;->addView(Landroid/view/View;Landroid/view/ViewGroup$LayoutParams;)V

    iget-object v0, p0, Lcom/waiqin365/lightapp/syorder/product/SyProductSelectActivity;->g:Landroid/widget/LinearLayout;

    invoke-direct {p0}, Lcom/waiqin365/lightapp/syorder/product/SyProductSelectActivity;->f()Landroid/view/View;

    move-result-object v1

    iget-object v3, p0, Lcom/waiqin365/lightapp/syorder/product/SyProductSelectActivity;->u:Landroid/widget/LinearLayout$LayoutParams;

    invoke-virtual {v0, v1, v3}, Landroid/widget/LinearLayout;->addView(Landroid/view/View;Landroid/view/ViewGroup$LayoutParams;)V

    if-eqz v5, :cond_3

    invoke-interface {v5}, Ljava/util/List;->size()I

    move-result v0

    if-lez v0, :cond_3

    move v3, v4

    :goto_1
    invoke-interface {v5}, Ljava/util/List;->size()I

    move-result v0

    if-ge v3, v0, :cond_3

    invoke-interface {v5, v3}, Ljava/util/List;->get(I)Ljava/lang/Object;

    move-result-object v0

    check-cast v0, Lcom/waiqin365/lightapp/product/d/h;

    invoke-direct {p0}, Lcom/waiqin365/lightapp/syorder/product/SyProductSelectActivity;->g()Landroid/widget/TextView;

    move-result-object v1

    iget v6, p0, Lcom/waiqin365/lightapp/syorder/product/SyProductSelectActivity;->a:F

    invoke-virtual {v1, v6}, Landroid/widget/TextView;->setTextSize(F)V

    invoke-virtual {v1, v4}, Landroid/widget/TextView;->setBackgroundColor(I)V

    iget-object v6, v0, Lcom/waiqin365/lightapp/product/d/h;->c:Ljava/lang/String;

    invoke-virtual {v1, v6}, Landroid/widget/TextView;->setText(Ljava/lang/CharSequence;)V

    invoke-virtual {v1, v0}, Landroid/widget/TextView;->setTag(Ljava/lang/Object;)V

    new-instance v6, Lcom/waiqin365/lightapp/syorder/product/m;

    invoke-direct {v6, p0}, Lcom/waiqin365/lightapp/syorder/product/m;-><init>(Lcom/waiqin365/lightapp/syorder/product/SyProductSelectActivity;)V

    invoke-virtual {v1, v6}, Landroid/widget/TextView;->setOnClickListener(Landroid/view/View$OnClickListener;)V

    iget-object v6, p0, Lcom/waiqin365/lightapp/syorder/product/SyProductSelectActivity;->g:Landroid/widget/LinearLayout;

    iget-object v7, p0, Lcom/waiqin365/lightapp/syorder/product/SyProductSelectActivity;->t:Landroid/widget/LinearLayout$LayoutParams;

    invoke-virtual {v6, v1, v7}, Landroid/widget/LinearLayout;->addView(Landroid/view/View;Landroid/view/ViewGroup$LayoutParams;)V

    iget-object v6, p0, Lcom/waiqin365/lightapp/syorder/product/SyProductSelectActivity;->g:Landroid/widget/LinearLayout;

    invoke-direct {p0}, Lcom/waiqin365/lightapp/syorder/product/SyProductSelectActivity;->f()Landroid/view/View;

    move-result-object v7

    iget-object v8, p0, Lcom/waiqin365/lightapp/syorder/product/SyProductSelectActivity;->u:Landroid/widget/LinearLayout$LayoutParams;

    invoke-virtual {v6, v7, v8}, Landroid/widget/LinearLayout;->addView(Landroid/view/View;Landroid/view/ViewGroup$LayoutParams;)V

    iget-object v6, p0, Lcom/waiqin365/lightapp/syorder/product/SyProductSelectActivity;->q:Ljava/util/List;

    invoke-interface {v6, v1}, Ljava/util/List;->add(Ljava/lang/Object;)Z

    invoke-static {p2}, Landroid/text/TextUtils;->isEmpty(Ljava/lang/CharSequence;)Z

    move-result v6

    if-nez v6, :cond_5

    iget-object v0, v0, Lcom/waiqin365/lightapp/product/d/h;->a:Ljava/lang/String;

    invoke-virtual {v0, p2}, Ljava/lang/String;->equals(Ljava/lang/Object;)Z

    move-result v0

    if-eqz v0, :cond_5

    move-object v0, v1

    :goto_2
    add-int/lit8 v1, v3, 0x1

    move v3, v1

    move-object v2, v0

    goto :goto_1

    :cond_3
    if-nez v2, :cond_4

    invoke-direct {p0, p1}, Lcom/waiqin365/lightapp/syorder/product/SyProductSelectActivity;->a(Lcom/waiqin365/lightapp/product/d/h;)V

    goto/16 :goto_0

    :cond_4
    invoke-virtual {v2}, Landroid/widget/TextView;->performClick()Z

    goto/16 :goto_0

    :cond_5
    move-object v0, v2

    goto :goto_2
.end method

.method private a(Lcom/waiqin365/lightapp/syorder/d/b;)V
    .locals 1

    if-nez p1, :cond_0

    const-string/jumbo v0, "\u8bf7\u9009\u62e9\u5546\u54c1\uff01"

    invoke-virtual {p0, v0}, Lcom/waiqin365/lightapp/syorder/product/SyProductSelectActivity;->showToast(Ljava/lang/String;)V

    :goto_0
    return-void

    :cond_0
    new-instance v0, Ljava/util/ArrayList;

    invoke-direct {v0}, Ljava/util/ArrayList;-><init>()V

    invoke-interface {v0, p1}, Ljava/util/List;->add(Ljava/lang/Object;)Z

    invoke-direct {p0, v0}, Lcom/waiqin365/lightapp/syorder/product/SyProductSelectActivity;->b(Ljava/util/List;)V

    goto :goto_0
.end method

.method static synthetic a(Lcom/waiqin365/lightapp/syorder/product/SyProductSelectActivity;I)V
    .locals 0

    invoke-direct {p0, p1}, Lcom/waiqin365/lightapp/syorder/product/SyProductSelectActivity;->a(I)V

    return-void
.end method

.method static synthetic a(Lcom/waiqin365/lightapp/syorder/product/SyProductSelectActivity;Lcom/waiqin365/lightapp/product/d/h;)V
    .locals 0

    invoke-direct {p0, p1}, Lcom/waiqin365/lightapp/syorder/product/SyProductSelectActivity;->a(Lcom/waiqin365/lightapp/product/d/h;)V

    return-void
.end method

.method static synthetic a(Lcom/waiqin365/lightapp/syorder/product/SyProductSelectActivity;Lcom/waiqin365/lightapp/product/d/h;Ljava/lang/String;)V
    .locals 0

    invoke-direct {p0, p1, p2}, Lcom/waiqin365/lightapp/syorder/product/SyProductSelectActivity;->a(Lcom/waiqin365/lightapp/product/d/h;Ljava/lang/String;)V

    return-void
.end method

.method static synthetic a(Lcom/waiqin365/lightapp/syorder/product/SyProductSelectActivity;Lcom/waiqin365/lightapp/syorder/d/b;)V
    .locals 0

    invoke-direct {p0, p1}, Lcom/waiqin365/lightapp/syorder/product/SyProductSelectActivity;->a(Lcom/waiqin365/lightapp/syorder/d/b;)V

    return-void
.end method

.method static synthetic a(Lcom/waiqin365/lightapp/syorder/product/SyProductSelectActivity;Lcom/waiqin365/lightapp/syorder/product/b/b;)V
    .locals 0

    invoke-direct {p0, p1}, Lcom/waiqin365/lightapp/syorder/product/SyProductSelectActivity;->a(Lcom/waiqin365/lightapp/syorder/product/b/b;)V

    return-void
.end method

.method static synthetic a(Lcom/waiqin365/lightapp/syorder/product/SyProductSelectActivity;Ljava/util/List;)V
    .locals 0

    invoke-direct {p0, p1}, Lcom/waiqin365/lightapp/syorder/product/SyProductSelectActivity;->a(Ljava/util/List;)V

    return-void
.end method

.method private a(Lcom/waiqin365/lightapp/syorder/product/b/b;)V
    .locals 9

    new-instance v0, Lcom/waiqin365/lightapp/syorder/b/a/f;

    iget-object v1, p0, Lcom/waiqin365/lightapp/syorder/product/SyProductSelectActivity;->auth_code:Ljava/lang/String;

    iget-object v2, p1, Lcom/waiqin365/lightapp/syorder/product/b/b;->e:Ljava/lang/String;

    iget-object v3, p1, Lcom/waiqin365/lightapp/syorder/product/b/b;->b:Ljava/lang/String;

    iget-object v4, p1, Lcom/waiqin365/lightapp/syorder/product/b/b;->c:Ljava/lang/String;

    iget-object v5, p1, Lcom/waiqin365/lightapp/syorder/product/b/b;->a:Ljava/lang/String;

    iget-object v6, p1, Lcom/waiqin365/lightapp/syorder/product/b/b;->d:Ljava/lang/String;

    const-string/jumbo v7, ""

    const-string/jumbo v8, "20"

    invoke-direct/range {v0 .. v8}, Lcom/waiqin365/lightapp/syorder/b/a/f;-><init>(Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;)V

    new-instance v1, Lcom/waiqin365/lightapp/syorder/b/b;

    iget-object v2, p0, Lcom/waiqin365/lightapp/syorder/product/SyProductSelectActivity;->C:Lcom/waiqin365/lightapp/syorder/product/v;

    invoke-direct {v1, v2, v0}, Lcom/waiqin365/lightapp/syorder/b/b;-><init>(Landroid/os/Handler;Lcom/waiqin365/lightapp/syorder/b/c;)V

    invoke-virtual {v1}, Lcom/waiqin365/lightapp/syorder/b/b;->start()V

    return-void
.end method

.method private a(Ljava/util/List;)V
    .locals 4

    const/16 v3, 0x8

    const/4 v2, 0x0

    if-eqz p1, :cond_0

    invoke-interface {p1}, Ljava/util/List;->size()I

    move-result v0

    if-lez v0, :cond_0

    iget-object v0, p0, Lcom/waiqin365/lightapp/syorder/product/SyProductSelectActivity;->x:Ljava/util/List;

    invoke-interface {v0, p1}, Ljava/util/List;->addAll(Ljava/util/Collection;)Z

    :cond_0
    if-eqz p1, :cond_1

    invoke-interface {p1}, Ljava/util/List;->size()I

    move-result v0

    const/16 v1, 0x14

    if-ne v0, v1, :cond_1

    iget-object v0, p0, Lcom/waiqin365/lightapp/syorder/product/SyProductSelectActivity;->h:Lcom/waiqin365/lightapp/dailyreport/view/CustomListview;

    invoke-virtual {v0}, Lcom/waiqin365/lightapp/dailyreport/view/CustomListview;->g()V

    :goto_0
    iget-object v0, p0, Lcom/waiqin365/lightapp/syorder/product/SyProductSelectActivity;->x:Ljava/util/List;

    invoke-interface {v0}, Ljava/util/List;->size()I

    move-result v0

    if-nez v0, :cond_2

    iget-object v0, p0, Lcom/waiqin365/lightapp/syorder/product/SyProductSelectActivity;->p:Ljava/util/List;

    invoke-interface {v0}, Ljava/util/List;->size()I

    move-result v0

    if-nez v0, :cond_2

    iget-object v0, p0, Lcom/waiqin365/lightapp/syorder/product/SyProductSelectActivity;->n:Lcom/waiqin365/lightapp/view/NoNetView;

    invoke-virtual {v0, v2}, Lcom/waiqin365/lightapp/view/NoNetView;->setVisibility(I)V

    iget-object v0, p0, Lcom/waiqin365/lightapp/syorder/product/SyProductSelectActivity;->n:Lcom/waiqin365/lightapp/view/NoNetView;

    const-string/jumbo v1, "\u6682\u65e0\u6570\u636e"

    invoke-virtual {v0, v1, v2}, Lcom/waiqin365/lightapp/view/NoNetView;->setMsg(Ljava/lang/String;Z)V

    iget-object v0, p0, Lcom/waiqin365/lightapp/syorder/product/SyProductSelectActivity;->h:Lcom/waiqin365/lightapp/dailyreport/view/CustomListview;

    invoke-virtual {v0, v3}, Lcom/waiqin365/lightapp/dailyreport/view/CustomListview;->setVisibility(I)V

    :goto_1
    iget-object v0, p0, Lcom/waiqin365/lightapp/syorder/product/SyProductSelectActivity;->w:Lcom/waiqin365/lightapp/syorder/product/a/m;

    invoke-virtual {v0}, Lcom/waiqin365/lightapp/syorder/product/a/m;->notifyDataSetChanged()V

    return-void

    :cond_1
    iget-object v0, p0, Lcom/waiqin365/lightapp/syorder/product/SyProductSelectActivity;->h:Lcom/waiqin365/lightapp/dailyreport/view/CustomListview;

    invoke-virtual {v0}, Lcom/waiqin365/lightapp/dailyreport/view/CustomListview;->f()V

    goto :goto_0

    :cond_2
    iget-object v0, p0, Lcom/waiqin365/lightapp/syorder/product/SyProductSelectActivity;->n:Lcom/waiqin365/lightapp/view/NoNetView;

    invoke-virtual {v0, v3}, Lcom/waiqin365/lightapp/view/NoNetView;->setVisibility(I)V

    iget-object v0, p0, Lcom/waiqin365/lightapp/syorder/product/SyProductSelectActivity;->h:Lcom/waiqin365/lightapp/dailyreport/view/CustomListview;

    invoke-virtual {v0, v2}, Lcom/waiqin365/lightapp/dailyreport/view/CustomListview;->setVisibility(I)V

    goto :goto_1
.end method

.method static synthetic a(Lcom/waiqin365/lightapp/syorder/product/SyProductSelectActivity;Z)Z
    .locals 0

    iput-boolean p1, p0, Lcom/waiqin365/lightapp/syorder/product/SyProductSelectActivity;->B:Z

    return p1
.end method

.method static synthetic b(Lcom/waiqin365/lightapp/syorder/product/SyProductSelectActivity;)Landroid/content/Context;
    .locals 1

    iget-object v0, p0, Lcom/waiqin365/lightapp/syorder/product/SyProductSelectActivity;->mContext:Landroid/content/Context;

    return-object v0
.end method

.method private b(Lcom/waiqin365/lightapp/product/d/h;)Ljava/util/List;
    .locals 6

    const/4 v2, 0x0

    new-instance v4, Ljava/util/ArrayList;

    invoke-direct {v4}, Ljava/util/ArrayList;-><init>()V

    if-eqz p1, :cond_3

    iget-object v0, p1, Lcom/waiqin365/lightapp/product/d/h;->a:Ljava/lang/String;

    invoke-static {v0}, Lcom/fiberhome/gaea/client/d/k;->i(Ljava/lang/String;)Z

    move-result v0

    if-nez v0, :cond_3

    move v1, v2

    :goto_0
    invoke-static {}, Lcom/waiqin365/lightapp/syorder/ap;->a()Lcom/waiqin365/lightapp/syorder/ap;

    move-result-object v0

    iget-object v0, v0, Lcom/waiqin365/lightapp/syorder/ap;->e:Ljava/util/List;

    invoke-interface {v0}, Ljava/util/List;->size()I

    move-result v0

    if-ge v1, v0, :cond_1

    new-instance v0, Ljava/lang/StringBuilder;

    invoke-direct {v0}, Ljava/lang/StringBuilder;-><init>()V

    const-string/jumbo v3, ""

    invoke-virtual {v0, v3}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v3

    invoke-static {}, Lcom/waiqin365/lightapp/syorder/ap;->a()Lcom/waiqin365/lightapp/syorder/ap;

    move-result-object v0

    iget-object v0, v0, Lcom/waiqin365/lightapp/syorder/ap;->e:Ljava/util/List;

    invoke-interface {v0, v1}, Ljava/util/List;->get(I)Ljava/lang/Object;

    move-result-object v0

    check-cast v0, Lcom/waiqin365/lightapp/product/d/h;

    iget-object v0, v0, Lcom/waiqin365/lightapp/product/d/h;->b:Ljava/lang/String;

    invoke-virtual {v3, v0}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v0

    invoke-virtual {v0}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;

    move-result-object v0

    new-instance v3, Ljava/lang/StringBuilder;

    invoke-direct {v3}, Ljava/lang/StringBuilder;-><init>()V

    const-string/jumbo v5, ""

    invoke-virtual {v3, v5}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v3

    iget-object v5, p1, Lcom/waiqin365/lightapp/product/d/h;->a:Ljava/lang/String;

    invoke-virtual {v3, v5}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v3

    invoke-virtual {v3}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;

    move-result-object v3

    invoke-virtual {v0, v3}, Ljava/lang/String;->equals(Ljava/lang/Object;)Z

    move-result v0

    if-eqz v0, :cond_0

    invoke-static {}, Lcom/waiqin365/lightapp/syorder/ap;->a()Lcom/waiqin365/lightapp/syorder/ap;

    move-result-object v0

    iget-object v0, v0, Lcom/waiqin365/lightapp/syorder/ap;->e:Ljava/util/List;

    invoke-interface {v0, v1}, Ljava/util/List;->get(I)Ljava/lang/Object;

    move-result-object v0

    invoke-interface {v4, v0}, Ljava/util/List;->add(Ljava/lang/Object;)Z

    :cond_0
    add-int/lit8 v0, v1, 0x1

    move v1, v0

    goto :goto_0

    :cond_1
    move v1, v2

    :goto_1
    invoke-interface {v4}, Ljava/util/List;->size()I

    move-result v0

    if-ge v1, v0, :cond_3

    invoke-interface {v4, v1}, Ljava/util/List;->get(I)Ljava/lang/Object;

    move-result-object v0

    check-cast v0, Lcom/waiqin365/lightapp/product/d/h;

    iget v3, p1, Lcom/waiqin365/lightapp/product/d/h;->f:I

    add-int/lit8 v3, v3, 0x1

    invoke-virtual {v0, v3}, Lcom/waiqin365/lightapp/product/d/h;->a(I)V

    invoke-direct {p0, v0}, Lcom/waiqin365/lightapp/syorder/product/SyProductSelectActivity;->b(Lcom/waiqin365/lightapp/product/d/h;)Ljava/util/List;

    move-result-object v5

    invoke-interface {v5}, Ljava/util/List;->size()I

    move-result v3

    if-nez v3, :cond_2

    const/4 v3, 0x1

    :goto_2
    iput-boolean v3, v0, Lcom/waiqin365/lightapp/product/d/h;->d:Z

    invoke-virtual {v0, v5}, Lcom/waiqin365/lightapp/product/d/h;->a(Ljava/util/List;)V

    add-int/lit8 v0, v1, 0x1

    move v1, v0

    goto :goto_1

    :cond_2
    move v3, v2

    goto :goto_2

    :cond_3
    return-object v4
.end method

.method private b()V
    .locals 8

    const/high16 v7, 0x3f000000    # 0.5f

    const/4 v6, -0x1

    invoke-direct {p0}, Lcom/waiqin365/lightapp/syorder/product/SyProductSelectActivity;->e()Lcom/waiqin365/lightapp/syorder/product/a/m;

    move-result-object v0

    iput-object v0, p0, Lcom/waiqin365/lightapp/syorder/product/SyProductSelectActivity;->w:Lcom/waiqin365/lightapp/syorder/product/a/m;

    iget-object v0, p0, Lcom/waiqin365/lightapp/syorder/product/SyProductSelectActivity;->h:Lcom/waiqin365/lightapp/dailyreport/view/CustomListview;

    iget-object v1, p0, Lcom/waiqin365/lightapp/syorder/product/SyProductSelectActivity;->w:Lcom/waiqin365/lightapp/syorder/product/a/m;

    invoke-virtual {v0, v1}, Lcom/waiqin365/lightapp/dailyreport/view/CustomListview;->setAdapter(Landroid/widget/BaseAdapter;)V

    iget-object v0, p0, Lcom/waiqin365/lightapp/syorder/product/SyProductSelectActivity;->s:Landroid/widget/TextView;

    iget-object v1, p0, Lcom/waiqin365/lightapp/syorder/product/SyProductSelectActivity;->mContext:Landroid/content/Context;

    iget v2, p0, Lcom/waiqin365/lightapp/syorder/product/SyProductSelectActivity;->d:I

    int-to-float v2, v2

    invoke-static {v1, v2}, Lcom/fiberhome/gaea/client/d/k;->b(Landroid/content/Context;F)I

    move-result v1

    iget-object v2, p0, Lcom/waiqin365/lightapp/syorder/product/SyProductSelectActivity;->mContext:Landroid/content/Context;

    iget v3, p0, Lcom/waiqin365/lightapp/syorder/product/SyProductSelectActivity;->b:I

    int-to-float v3, v3

    invoke-static {v2, v3}, Lcom/fiberhome/gaea/client/d/k;->b(Landroid/content/Context;F)I

    move-result v2

    iget-object v3, p0, Lcom/waiqin365/lightapp/syorder/product/SyProductSelectActivity;->mContext:Landroid/content/Context;

    iget v4, p0, Lcom/waiqin365/lightapp/syorder/product/SyProductSelectActivity;->e:I

    int-to-float v4, v4

    invoke-static {v3, v4}, Lcom/fiberhome/gaea/client/d/k;->b(Landroid/content/Context;F)I

    move-result v3

    iget-object v4, p0, Lcom/waiqin365/lightapp/syorder/product/SyProductSelectActivity;->mContext:Landroid/content/Context;

    iget v5, p0, Lcom/waiqin365/lightapp/syorder/product/SyProductSelectActivity;->c:I

    int-to-float v5, v5

    invoke-static {v4, v5}, Lcom/fiberhome/gaea/client/d/k;->b(Landroid/content/Context;F)I

    move-result v4

    invoke-virtual {v0, v1, v2, v3, v4}, Landroid/widget/TextView;->setPadding(IIII)V

    iget-object v0, p0, Lcom/waiqin365/lightapp/syorder/product/SyProductSelectActivity;->s:Landroid/widget/TextView;

    invoke-virtual {v0, v6}, Landroid/widget/TextView;->setBackgroundColor(I)V

    iget-object v0, p0, Lcom/waiqin365/lightapp/syorder/product/SyProductSelectActivity;->s:Landroid/widget/TextView;

    iget v1, p0, Lcom/waiqin365/lightapp/syorder/product/SyProductSelectActivity;->a:F

    invoke-virtual {v0, v1}, Landroid/widget/TextView;->setTextSize(F)V

    iget-object v0, p0, Lcom/waiqin365/lightapp/syorder/product/SyProductSelectActivity;->s:Landroid/widget/TextView;

    iget v1, p0, Lcom/waiqin365/lightapp/syorder/product/SyProductSelectActivity;->y:I

    invoke-virtual {v0, v1}, Landroid/widget/TextView;->setTextColor(I)V

    new-instance v0, Landroid/widget/LinearLayout$LayoutParams;

    const/4 v1, -0x2

    invoke-direct {v0, v6, v1}, Landroid/widget/LinearLayout$LayoutParams;-><init>(II)V

    iput-object v0, p0, Lcom/waiqin365/lightapp/syorder/product/SyProductSelectActivity;->t:Landroid/widget/LinearLayout$LayoutParams;

    new-instance v0, Landroid/widget/LinearLayout$LayoutParams;

    iget-object v1, p0, Lcom/waiqin365/lightapp/syorder/product/SyProductSelectActivity;->mContext:Landroid/content/Context;

    invoke-static {v1, v7}, Lcom/fiberhome/gaea/client/d/k;->b(Landroid/content/Context;F)I

    move-result v1

    invoke-direct {v0, v6, v1}, Landroid/widget/LinearLayout$LayoutParams;-><init>(II)V

    iput-object v0, p0, Lcom/waiqin365/lightapp/syorder/product/SyProductSelectActivity;->u:Landroid/widget/LinearLayout$LayoutParams;

    new-instance v0, Landroid/widget/AbsListView$LayoutParams;

    iget-object v1, p0, Lcom/waiqin365/lightapp/syorder/product/SyProductSelectActivity;->mContext:Landroid/content/Context;

    invoke-static {v1, v7}, Lcom/fiberhome/gaea/client/d/k;->b(Landroid/content/Context;F)I

    move-result v1

    invoke-direct {v0, v6, v1}, Landroid/widget/AbsListView$LayoutParams;-><init>(II)V

    iput-object v0, p0, Lcom/waiqin365/lightapp/syorder/product/SyProductSelectActivity;->v:Landroid/widget/AbsListView$LayoutParams;

    iget-object v0, p0, Lcom/waiqin365/lightapp/syorder/product/SyProductSelectActivity;->m:Lcom/waiqin365/base/login/mainview/TitleBar;

    iget-object v1, v0, Lcom/waiqin365/base/login/mainview/TitleBar;->e:Landroid/widget/TextView;

    iget-object v0, p0, Lcom/waiqin365/lightapp/syorder/product/SyProductSelectActivity;->o:Lcom/waiqin365/lightapp/syorder/product/b/a;

    iget-object v0, v0, Lcom/waiqin365/lightapp/syorder/product/b/a;->c:Ljava/lang/String;

    if-nez v0, :cond_0

    const-string/jumbo v0, "\u6dfb\u52a0\u5546\u54c1"

    :goto_0
    invoke-virtual {v1, v0}, Landroid/widget/TextView;->setText(Ljava/lang/CharSequence;)V

    invoke-direct {p0}, Lcom/waiqin365/lightapp/syorder/product/SyProductSelectActivity;->c()V

    new-instance v0, Lcom/waiqin365/lightapp/product/d/h;

    invoke-direct {v0}, Lcom/waiqin365/lightapp/product/d/h;-><init>()V

    const-string/jumbo v1, "-1"

    iput-object v1, v0, Lcom/waiqin365/lightapp/product/d/h;->a:Ljava/lang/String;

    const-string/jumbo v1, "\u5168\u90e8"

    iput-object v1, v0, Lcom/waiqin365/lightapp/product/d/h;->c:Ljava/lang/String;

    const/4 v1, 0x0

    invoke-direct {p0, v0, v1}, Lcom/waiqin365/lightapp/syorder/product/SyProductSelectActivity;->a(Lcom/waiqin365/lightapp/product/d/h;Ljava/lang/String;)V

    return-void

    :cond_0
    iget-object v0, p0, Lcom/waiqin365/lightapp/syorder/product/SyProductSelectActivity;->o:Lcom/waiqin365/lightapp/syorder/product/b/a;

    iget-object v0, v0, Lcom/waiqin365/lightapp/syorder/product/b/a;->c:Ljava/lang/String;

    goto :goto_0
.end method

.method static synthetic b(Lcom/waiqin365/lightapp/syorder/product/SyProductSelectActivity;Ljava/lang/String;)V
    .locals 0

    invoke-direct {p0, p1}, Lcom/waiqin365/lightapp/syorder/product/SyProductSelectActivity;->b(Ljava/lang/String;)V

    return-void
.end method

.method private b(Ljava/lang/String;)V
    .locals 4

    const/4 v2, 0x0

    move v1, v2

    :goto_0
    iget-object v0, p0, Lcom/waiqin365/lightapp/syorder/product/SyProductSelectActivity;->q:Ljava/util/List;

    invoke-interface {v0}, Ljava/util/List;->size()I

    move-result v0

    if-ge v1, v0, :cond_1

    iget-object v0, p0, Lcom/waiqin365/lightapp/syorder/product/SyProductSelectActivity;->q:Ljava/util/List;

    invoke-interface {v0, v1}, Ljava/util/List;->get(I)Ljava/lang/Object;

    move-result-object v0

    check-cast v0, Landroid/widget/TextView;

    invoke-virtual {v0}, Landroid/widget/TextView;->getTag()Ljava/lang/Object;

    move-result-object v0

    check-cast v0, Lcom/waiqin365/lightapp/product/d/h;

    iget-object v0, v0, Lcom/waiqin365/lightapp/product/d/h;->a:Ljava/lang/String;

    invoke-virtual {v0, p1}, Ljava/lang/String;->equals(Ljava/lang/Object;)Z

    move-result v0

    if-eqz v0, :cond_0

    iget-object v0, p0, Lcom/waiqin365/lightapp/syorder/product/SyProductSelectActivity;->q:Ljava/util/List;

    invoke-interface {v0, v1}, Ljava/util/List;->get(I)Ljava/lang/Object;

    move-result-object v0

    check-cast v0, Landroid/widget/TextView;

    const/4 v3, -0x1

    invoke-virtual {v0, v3}, Landroid/widget/TextView;->setBackgroundColor(I)V

    iget-object v0, p0, Lcom/waiqin365/lightapp/syorder/product/SyProductSelectActivity;->q:Ljava/util/List;

    invoke-interface {v0, v1}, Ljava/util/List;->get(I)Ljava/lang/Object;

    move-result-object v0

    check-cast v0, Landroid/widget/TextView;

    iget v3, p0, Lcom/waiqin365/lightapp/syorder/product/SyProductSelectActivity;->y:I

    invoke-virtual {v0, v3}, Landroid/widget/TextView;->setTextColor(I)V

    :goto_1
    add-int/lit8 v0, v1, 0x1

    move v1, v0

    goto :goto_0

    :cond_0
    iget-object v0, p0, Lcom/waiqin365/lightapp/syorder/product/SyProductSelectActivity;->q:Ljava/util/List;

    invoke-interface {v0, v1}, Ljava/util/List;->get(I)Ljava/lang/Object;

    move-result-object v0

    check-cast v0, Landroid/widget/TextView;

    invoke-virtual {v0, v2}, Landroid/widget/TextView;->setBackgroundColor(I)V

    iget-object v0, p0, Lcom/waiqin365/lightapp/syorder/product/SyProductSelectActivity;->q:Ljava/util/List;

    invoke-interface {v0, v1}, Ljava/util/List;->get(I)Ljava/lang/Object;

    move-result-object v0

    check-cast v0, Landroid/widget/TextView;

    iget v3, p0, Lcom/waiqin365/lightapp/syorder/product/SyProductSelectActivity;->z:I

    invoke-virtual {v0, v3}, Landroid/widget/TextView;->setTextColor(I)V

    goto :goto_1

    :cond_1
    return-void
.end method

.method private b(Ljava/util/List;)V
    .locals 2

    if-nez p1, :cond_0

    const-string/jumbo v0, "\u8bf7\u9009\u62e9\u5546\u54c1\uff01"

    invoke-virtual {p0, v0}, Lcom/waiqin365/lightapp/syorder/product/SyProductSelectActivity;->showToast(Ljava/lang/String;)V

    :goto_0
    return-void

    :cond_0
    iget-object v0, p0, Lcom/waiqin365/lightapp/syorder/product/SyProductSelectActivity;->o:Lcom/waiqin365/lightapp/syorder/product/b/a;

    iget-object v0, v0, Lcom/waiqin365/lightapp/syorder/product/b/a;->k:Ljava/lang/String;

    invoke-static {v0}, Lcom/fiberhome/gaea/client/d/k;->i(Ljava/lang/String;)Z

    move-result v0

    if-nez v0, :cond_1

    invoke-static {}, Lcom/fiberhome/gaea/client/a/b;->a()Lcom/fiberhome/gaea/client/a/b;

    move-result-object v0

    iget-object v1, p0, Lcom/waiqin365/lightapp/syorder/product/SyProductSelectActivity;->o:Lcom/waiqin365/lightapp/syorder/product/b/a;

    iget-object v1, v1, Lcom/waiqin365/lightapp/syorder/product/b/a;->k:Ljava/lang/String;

    invoke-virtual {v0, v1, p1}, Lcom/fiberhome/gaea/client/a/b;->a(Ljava/lang/String;Ljava/lang/Object;)V

    :cond_1
    new-instance v0, Landroid/content/Intent;

    invoke-direct {v0}, Landroid/content/Intent;-><init>()V

    const-string/jumbo v1, "selectedList"

    check-cast p1, Ljava/io/Serializable;

    invoke-virtual {v0, v1, p1}, Landroid/content/Intent;->putExtra(Ljava/lang/String;Ljava/io/Serializable;)Landroid/content/Intent;

    const/4 v1, -0x1

    invoke-virtual {p0, v1, v0}, Lcom/waiqin365/lightapp/syorder/product/SyProductSelectActivity;->setResult(ILandroid/content/Intent;)V

    invoke-virtual {p0}, Lcom/waiqin365/lightapp/syorder/product/SyProductSelectActivity;->finish()V

    goto :goto_0
.end method

.method static synthetic c(Lcom/waiqin365/lightapp/syorder/product/SyProductSelectActivity;)Landroid/widget/TextView;
    .locals 1

    iget-object v0, p0, Lcom/waiqin365/lightapp/syorder/product/SyProductSelectActivity;->s:Landroid/widget/TextView;

    return-object v0
.end method

.method private c()V
    .locals 2

    invoke-static {}, Lcom/waiqin365/lightapp/syorder/ap;->a()Lcom/waiqin365/lightapp/syorder/ap;

    move-result-object v0

    iget-object v1, p0, Lcom/waiqin365/lightapp/syorder/product/SyProductSelectActivity;->mContext:Landroid/content/Context;

    invoke-virtual {v0, v1}, Lcom/waiqin365/lightapp/syorder/ap;->a(Landroid/content/Context;)Z

    move-result v0

    if-eqz v0, :cond_0

    iget-object v0, p0, Lcom/waiqin365/lightapp/syorder/product/SyProductSelectActivity;->m:Lcom/waiqin365/base/login/mainview/TitleBar;

    iget-object v0, v0, Lcom/waiqin365/base/login/mainview/TitleBar;->b:Landroid/widget/ImageButton;

    const v1, 0x7f020284

    invoke-virtual {v0, v1}, Landroid/widget/ImageButton;->setBackgroundResource(I)V

    :goto_0
    return-void

    :cond_0
    iget-object v0, p0, Lcom/waiqin365/lightapp/syorder/product/SyProductSelectActivity;->m:Lcom/waiqin365/base/login/mainview/TitleBar;

    iget-object v0, v0, Lcom/waiqin365/base/login/mainview/TitleBar;->b:Landroid/widget/ImageButton;

    const v1, 0x7f020285

    invoke-virtual {v0, v1}, Landroid/widget/ImageButton;->setBackgroundResource(I)V

    goto :goto_0
.end method

.method private c(Ljava/lang/String;)V
    .locals 3

    new-instance v0, Landroid/content/Intent;

    iget-object v1, p0, Lcom/waiqin365/lightapp/syorder/product/SyProductSelectActivity;->mContext:Landroid/content/Context;

    const-class v2, Lcom/waiqin365/lightapp/syorder/product/SyProductSearchActivityNew;

    invoke-direct {v0, v1, v2}, Landroid/content/Intent;-><init>(Landroid/content/Context;Ljava/lang/Class;)V

    invoke-static {p1}, Landroid/text/TextUtils;->isEmpty(Ljava/lang/CharSequence;)Z

    move-result v1

    if-nez v1, :cond_0

    const-string/jumbo v1, "search"

    invoke-virtual {v0, v1, p1}, Landroid/content/Intent;->putExtra(Ljava/lang/String;Ljava/lang/String;)Landroid/content/Intent;

    const-string/jumbo v1, "camera"

    const/4 v2, 0x1

    invoke-virtual {v0, v1, v2}, Landroid/content/Intent;->putExtra(Ljava/lang/String;Z)Landroid/content/Intent;

    :cond_0
    iget-object v1, p0, Lcom/waiqin365/lightapp/syorder/product/SyProductSelectActivity;->w:Lcom/waiqin365/lightapp/syorder/product/a/m;

    if-eqz v1, :cond_1

    iget-object v1, p0, Lcom/waiqin365/lightapp/syorder/product/SyProductSelectActivity;->o:Lcom/waiqin365/lightapp/syorder/product/b/a;

    iget-object v2, p0, Lcom/waiqin365/lightapp/syorder/product/SyProductSelectActivity;->w:Lcom/waiqin365/lightapp/syorder/product/a/m;

    invoke-virtual {v2}, Lcom/waiqin365/lightapp/syorder/product/a/m;->c()Ljava/util/List;

    move-result-object v2

    iput-object v2, v1, Lcom/waiqin365/lightapp/syorder/product/b/a;->e:Ljava/util/List;

    :cond_1
    iget-object v1, p0, Lcom/waiqin365/lightapp/syorder/product/SyProductSelectActivity;->o:Lcom/waiqin365/lightapp/syorder/product/b/a;

    iput-object p1, v1, Lcom/waiqin365/lightapp/syorder/product/b/a;->j:Ljava/lang/String;

    const-string/jumbo v1, "param"

    iget-object v2, p0, Lcom/waiqin365/lightapp/syorder/product/SyProductSelectActivity;->o:Lcom/waiqin365/lightapp/syorder/product/b/a;

    invoke-virtual {v0, v1, v2}, Landroid/content/Intent;->putExtra(Ljava/lang/String;Ljava/io/Serializable;)Landroid/content/Intent;

    const/16 v1, 0x4d2

    invoke-virtual {p0, v0, v1}, Lcom/waiqin365/lightapp/syorder/product/SyProductSelectActivity;->startActivityForResult(Landroid/content/Intent;I)V

    return-void
.end method

.method static synthetic d(Lcom/waiqin365/lightapp/syorder/product/SyProductSelectActivity;)I
    .locals 1

    iget v0, p0, Lcom/waiqin365/lightapp/syorder/product/SyProductSelectActivity;->y:I

    return v0
.end method

.method private d()V
    .locals 2

    iget-object v0, p0, Lcom/waiqin365/lightapp/syorder/product/SyProductSelectActivity;->m:Lcom/waiqin365/base/login/mainview/TitleBar;

    iget-object v0, v0, Lcom/waiqin365/base/login/mainview/TitleBar;->a:Landroid/widget/ImageButton;

    invoke-virtual {v0, p0}, Landroid/widget/ImageButton;->setOnClickListener(Landroid/view/View$OnClickListener;)V

    iget-object v0, p0, Lcom/waiqin365/lightapp/syorder/product/SyProductSelectActivity;->m:Lcom/waiqin365/base/login/mainview/TitleBar;

    iget-object v0, v0, Lcom/waiqin365/base/login/mainview/TitleBar;->g:Landroid/view/View;

    invoke-virtual {v0, p0}, Landroid/view/View;->setOnClickListener(Landroid/view/View$OnClickListener;)V

    iget-object v0, p0, Lcom/waiqin365/lightapp/syorder/product/SyProductSelectActivity;->m:Lcom/waiqin365/base/login/mainview/TitleBar;

    iget-object v0, v0, Lcom/waiqin365/base/login/mainview/TitleBar;->b:Landroid/widget/ImageButton;

    invoke-virtual {v0, p0}, Landroid/widget/ImageButton;->setOnClickListener(Landroid/view/View$OnClickListener;)V

    iget-object v0, p0, Lcom/waiqin365/lightapp/syorder/product/SyProductSelectActivity;->m:Lcom/waiqin365/base/login/mainview/TitleBar;

    iget-object v0, v0, Lcom/waiqin365/base/login/mainview/TitleBar;->i:Landroid/view/View;

    invoke-virtual {v0, p0}, Landroid/view/View;->setOnClickListener(Landroid/view/View$OnClickListener;)V

    iget-object v0, p0, Lcom/waiqin365/lightapp/syorder/product/SyProductSelectActivity;->k:Landroid/view/View;

    invoke-virtual {v0, p0}, Landroid/view/View;->setOnClickListener(Landroid/view/View$OnClickListener;)V

    iget-object v0, p0, Lcom/waiqin365/lightapp/syorder/product/SyProductSelectActivity;->l:Landroid/view/View;

    invoke-virtual {v0, p0}, Landroid/view/View;->setOnClickListener(Landroid/view/View$OnClickListener;)V

    iget-object v0, p0, Lcom/waiqin365/lightapp/syorder/product/SyProductSelectActivity;->j:Landroid/widget/Button;

    invoke-virtual {v0, p0}, Landroid/widget/Button;->setOnClickListener(Landroid/view/View$OnClickListener;)V

    iget-object v0, p0, Lcom/waiqin365/lightapp/syorder/product/SyProductSelectActivity;->h:Lcom/waiqin365/lightapp/dailyreport/view/CustomListview;

    new-instance v1, Lcom/waiqin365/lightapp/syorder/product/n;

    invoke-direct {v1, p0}, Lcom/waiqin365/lightapp/syorder/product/n;-><init>(Lcom/waiqin365/lightapp/syorder/product/SyProductSelectActivity;)V

    invoke-virtual {v0, v1}, Lcom/waiqin365/lightapp/dailyreport/view/CustomListview;->setonRefreshListener(Lcom/waiqin365/lightapp/dailyreport/view/z;)V

    iget-object v0, p0, Lcom/waiqin365/lightapp/syorder/product/SyProductSelectActivity;->h:Lcom/waiqin365/lightapp/dailyreport/view/CustomListview;

    new-instance v1, Lcom/waiqin365/lightapp/syorder/product/o;

    invoke-direct {v1, p0}, Lcom/waiqin365/lightapp/syorder/product/o;-><init>(Lcom/waiqin365/lightapp/syorder/product/SyProductSelectActivity;)V

    invoke-virtual {v0, v1}, Lcom/waiqin365/lightapp/dailyreport/view/CustomListview;->setonHistoryListener(Lcom/waiqin365/lightapp/dailyreport/view/aa;)V

    iget-object v0, p0, Lcom/waiqin365/lightapp/syorder/product/SyProductSelectActivity;->f:Lcom/waiqin365/lightapp/kehu/view/FloatScrollView;

    new-instance v1, Lcom/waiqin365/lightapp/syorder/product/p;

    invoke-direct {v1, p0}, Lcom/waiqin365/lightapp/syorder/product/p;-><init>(Lcom/waiqin365/lightapp/syorder/product/SyProductSelectActivity;)V

    invoke-virtual {v0, v1}, Lcom/waiqin365/lightapp/kehu/view/FloatScrollView;->setOnScrollListener(Lcom/waiqin365/lightapp/kehu/view/bn;)V

    return-void
.end method

.method static synthetic e(Lcom/waiqin365/lightapp/syorder/product/SyProductSelectActivity;)I
    .locals 1

    iget v0, p0, Lcom/waiqin365/lightapp/syorder/product/SyProductSelectActivity;->z:I

    return v0
.end method

.method private e()Lcom/waiqin365/lightapp/syorder/product/a/m;
    .locals 3

    new-instance v0, Lcom/waiqin365/lightapp/syorder/product/a/m;

    iget-object v1, p0, Lcom/waiqin365/lightapp/syorder/product/SyProductSelectActivity;->mContext:Landroid/content/Context;

    iget-object v2, p0, Lcom/waiqin365/lightapp/syorder/product/SyProductSelectActivity;->x:Ljava/util/List;

    invoke-direct {v0, v1, v2}, Lcom/waiqin365/lightapp/syorder/product/a/m;-><init>(Landroid/content/Context;Ljava/util/List;)V

    iget-object v1, p0, Lcom/waiqin365/lightapp/syorder/product/SyProductSelectActivity;->o:Lcom/waiqin365/lightapp/syorder/product/b/a;

    iget-boolean v1, v1, Lcom/waiqin365/lightapp/syorder/product/b/a;->g:Z

    invoke-virtual {v0, v1}, Lcom/waiqin365/lightapp/syorder/product/a/m;->c(Z)V

    iget-object v1, p0, Lcom/waiqin365/lightapp/syorder/product/SyProductSelectActivity;->o:Lcom/waiqin365/lightapp/syorder/product/b/a;

    iget-boolean v1, v1, Lcom/waiqin365/lightapp/syorder/product/b/a;->h:Z

    invoke-virtual {v0, v1}, Lcom/waiqin365/lightapp/syorder/product/a/m;->e(Z)V

    invoke-static {}, Lcom/waiqin365/lightapp/syorder/ap;->a()Lcom/waiqin365/lightapp/syorder/ap;

    move-result-object v1

    iget-object v2, p0, Lcom/waiqin365/lightapp/syorder/product/SyProductSelectActivity;->mContext:Landroid/content/Context;

    invoke-virtual {v1, v2}, Lcom/waiqin365/lightapp/syorder/ap;->a(Landroid/content/Context;)Z

    move-result v1

    invoke-virtual {v0, v1}, Lcom/waiqin365/lightapp/syorder/product/a/m;->b(Z)V

    iget-object v1, p0, Lcom/waiqin365/lightapp/syorder/product/SyProductSelectActivity;->o:Lcom/waiqin365/lightapp/syorder/product/b/a;

    iget-object v1, v1, Lcom/waiqin365/lightapp/syorder/product/b/a;->e:Ljava/util/List;

    invoke-virtual {v0, v1}, Lcom/waiqin365/lightapp/syorder/product/a/m;->a(Ljava/util/List;)V

    iget-object v1, p0, Lcom/waiqin365/lightapp/syorder/product/SyProductSelectActivity;->o:Lcom/waiqin365/lightapp/syorder/product/b/a;

    iget-boolean v1, v1, Lcom/waiqin365/lightapp/syorder/product/b/a;->a:Z

    invoke-virtual {v0, v1}, Lcom/waiqin365/lightapp/syorder/product/a/m;->d(Z)V

    new-instance v1, Lcom/waiqin365/lightapp/syorder/product/q;

    invoke-direct {v1, p0}, Lcom/waiqin365/lightapp/syorder/product/q;-><init>(Lcom/waiqin365/lightapp/syorder/product/SyProductSelectActivity;)V

    invoke-virtual {v0, v1}, Lcom/waiqin365/lightapp/syorder/product/a/m;->a(Lcom/waiqin365/lightapp/product/c/d;)V

    new-instance v1, Lcom/waiqin365/lightapp/syorder/product/r;

    invoke-direct {v1, p0}, Lcom/waiqin365/lightapp/syorder/product/r;-><init>(Lcom/waiqin365/lightapp/syorder/product/SyProductSelectActivity;)V

    invoke-virtual {v0, v1}, Lcom/waiqin365/lightapp/syorder/product/a/m;->a(Lcom/waiqin365/lightapp/syorder/product/a/q;)V

    return-object v0
.end method

.method private f()Landroid/view/View;
    .locals 3

    new-instance v0, Landroid/view/View;

    iget-object v1, p0, Lcom/waiqin365/lightapp/syorder/product/SyProductSelectActivity;->mContext:Landroid/content/Context;

    invoke-direct {v0, v1}, Landroid/view/View;-><init>(Landroid/content/Context;)V

    invoke-virtual {p0}, Lcom/waiqin365/lightapp/syorder/product/SyProductSelectActivity;->getResources()Landroid/content/res/Resources;

    move-result-object v1

    const v2, 0x7f0b003a

    invoke-virtual {v1, v2}, Landroid/content/res/Resources;->getColor(I)I

    move-result v1

    invoke-virtual {v0, v1}, Landroid/view/View;->setBackgroundColor(I)V

    return-object v0
.end method

.method static synthetic f(Lcom/waiqin365/lightapp/syorder/product/SyProductSelectActivity;)Lcom/waiqin365/lightapp/dailyreport/view/CustomListview;
    .locals 1

    iget-object v0, p0, Lcom/waiqin365/lightapp/syorder/product/SyProductSelectActivity;->h:Lcom/waiqin365/lightapp/dailyreport/view/CustomListview;

    return-object v0
.end method

.method private g()Landroid/widget/TextView;
    .locals 6

    iget-object v0, p0, Lcom/waiqin365/lightapp/syorder/product/SyProductSelectActivity;->r:Ljava/util/List;

    invoke-interface {v0}, Ljava/util/List;->size()I

    move-result v0

    if-lez v0, :cond_0

    iget-object v0, p0, Lcom/waiqin365/lightapp/syorder/product/SyProductSelectActivity;->r:Ljava/util/List;

    const/4 v1, 0x0

    invoke-interface {v0, v1}, Ljava/util/List;->get(I)Ljava/lang/Object;

    move-result-object v0

    check-cast v0, Landroid/widget/TextView;

    iget-object v1, p0, Lcom/waiqin365/lightapp/syorder/product/SyProductSelectActivity;->r:Ljava/util/List;

    invoke-interface {v1, v0}, Ljava/util/List;->remove(Ljava/lang/Object;)Z

    :goto_0
    return-object v0

    :cond_0
    new-instance v0, Landroid/widget/TextView;

    iget-object v1, p0, Lcom/waiqin365/lightapp/syorder/product/SyProductSelectActivity;->mContext:Landroid/content/Context;

    invoke-direct {v0, v1}, Landroid/widget/TextView;-><init>(Landroid/content/Context;)V

    iget-object v1, p0, Lcom/waiqin365/lightapp/syorder/product/SyProductSelectActivity;->mContext:Landroid/content/Context;

    iget v2, p0, Lcom/waiqin365/lightapp/syorder/product/SyProductSelectActivity;->d:I

    int-to-float v2, v2

    invoke-static {v1, v2}, Lcom/fiberhome/gaea/client/d/k;->b(Landroid/content/Context;F)I

    move-result v1

    iget-object v2, p0, Lcom/waiqin365/lightapp/syorder/product/SyProductSelectActivity;->mContext:Landroid/content/Context;

    iget v3, p0, Lcom/waiqin365/lightapp/syorder/product/SyProductSelectActivity;->b:I

    int-to-float v3, v3

    invoke-static {v2, v3}, Lcom/fiberhome/gaea/client/d/k;->b(Landroid/content/Context;F)I

    move-result v2

    iget-object v3, p0, Lcom/waiqin365/lightapp/syorder/product/SyProductSelectActivity;->mContext:Landroid/content/Context;

    iget v4, p0, Lcom/waiqin365/lightapp/syorder/product/SyProductSelectActivity;->e:I

    int-to-float v4, v4

    invoke-static {v3, v4}, Lcom/fiberhome/gaea/client/d/k;->b(Landroid/content/Context;F)I

    move-result v3

    iget-object v4, p0, Lcom/waiqin365/lightapp/syorder/product/SyProductSelectActivity;->mContext:Landroid/content/Context;

    iget v5, p0, Lcom/waiqin365/lightapp/syorder/product/SyProductSelectActivity;->c:I

    int-to-float v5, v5

    invoke-static {v4, v5}, Lcom/fiberhome/gaea/client/d/k;->b(Landroid/content/Context;F)I

    move-result v4

    invoke-virtual {v0, v1, v2, v3, v4}, Landroid/widget/TextView;->setPadding(IIII)V

    goto :goto_0
.end method

.method static synthetic g(Lcom/waiqin365/lightapp/syorder/product/SyProductSelectActivity;)Lcom/waiqin365/lightapp/syorder/product/a/m;
    .locals 1

    iget-object v0, p0, Lcom/waiqin365/lightapp/syorder/product/SyProductSelectActivity;->w:Lcom/waiqin365/lightapp/syorder/product/a/m;

    return-object v0
.end method

.method static synthetic h(Lcom/waiqin365/lightapp/syorder/product/SyProductSelectActivity;)V
    .locals 0

    invoke-direct {p0}, Lcom/waiqin365/lightapp/syorder/product/SyProductSelectActivity;->b()V

    return-void
.end method

.method static synthetic i(Lcom/waiqin365/lightapp/syorder/product/SyProductSelectActivity;)Lcom/waiqin365/lightapp/view/NoNetView;
    .locals 1

    iget-object v0, p0, Lcom/waiqin365/lightapp/syorder/product/SyProductSelectActivity;->n:Lcom/waiqin365/lightapp/view/NoNetView;

    return-object v0
.end method


# virtual methods
.method protected onActivityResult(IILandroid/content/Intent;)V
    .locals 2

    invoke-super {p0, p1, p2, p3}, Lcom/waiqin365/lightapp/base/WqBaseActivity;->onActivityResult(IILandroid/content/Intent;)V

    const/4 v0, -0x1

    if-ne p2, v0, :cond_0

    sparse-switch p1, :sswitch_data_0

    :cond_0
    :goto_0
    return-void

    :sswitch_0
    const-string/jumbo v0, "qrResult"

    invoke-virtual {p3, v0}, Landroid/content/Intent;->getBundleExtra(Ljava/lang/String;)Landroid/os/Bundle;

    move-result-object v0

    const-string/jumbo v1, "result"

    invoke-virtual {v0, v1}, Landroid/os/Bundle;->getString(Ljava/lang/String;)Ljava/lang/String;

    move-result-object v0

    invoke-direct {p0, v0}, Lcom/waiqin365/lightapp/syorder/product/SyProductSelectActivity;->c(Ljava/lang/String;)V

    goto :goto_0

    :sswitch_1
    iget-boolean v0, p0, Lcom/waiqin365/lightapp/syorder/product/SyProductSelectActivity;->A:Z

    if-eqz v0, :cond_1

    invoke-virtual {p0}, Lcom/waiqin365/lightapp/syorder/product/SyProductSelectActivity;->finish()V

    goto :goto_0

    :cond_1
    iget-object v0, p0, Lcom/waiqin365/lightapp/syorder/product/SyProductSelectActivity;->w:Lcom/waiqin365/lightapp/syorder/product/a/m;

    if-eqz v0, :cond_0

    const-string/jumbo v0, "param"

    invoke-virtual {p3, v0}, Landroid/content/Intent;->getSerializableExtra(Ljava/lang/String;)Ljava/io/Serializable;

    move-result-object v0

    check-cast v0, Lcom/waiqin365/lightapp/syorder/product/b/a;

    iput-object v0, p0, Lcom/waiqin365/lightapp/syorder/product/SyProductSelectActivity;->o:Lcom/waiqin365/lightapp/syorder/product/b/a;

    iget-object v0, p0, Lcom/waiqin365/lightapp/syorder/product/SyProductSelectActivity;->w:Lcom/waiqin365/lightapp/syorder/product/a/m;

    iget-object v1, p0, Lcom/waiqin365/lightapp/syorder/product/SyProductSelectActivity;->o:Lcom/waiqin365/lightapp/syorder/product/b/a;

    iget-object v1, v1, Lcom/waiqin365/lightapp/syorder/product/b/a;->e:Ljava/util/List;

    invoke-virtual {v0, v1}, Lcom/waiqin365/lightapp/syorder/product/a/m;->a(Ljava/util/List;)V

    iget-object v0, p0, Lcom/waiqin365/lightapp/syorder/product/SyProductSelectActivity;->w:Lcom/waiqin365/lightapp/syorder/product/a/m;

    invoke-virtual {v0}, Lcom/waiqin365/lightapp/syorder/product/a/m;->notifyDataSetChanged()V

    iget-object v0, p0, Lcom/waiqin365/lightapp/syorder/product/SyProductSelectActivity;->o:Lcom/waiqin365/lightapp/syorder/product/b/a;

    iget-object v0, v0, Lcom/waiqin365/lightapp/syorder/product/b/a;->e:Ljava/util/List;

    invoke-interface {v0}, Ljava/util/List;->size()I

    move-result v0

    invoke-direct {p0, v0}, Lcom/waiqin365/lightapp/syorder/product/SyProductSelectActivity;->a(I)V

    goto :goto_0

    :sswitch_2
    if-eqz p3, :cond_0

    const-string/jumbo v0, "product"

    invoke-virtual {p3, v0}, Landroid/content/Intent;->getSerializableExtra(Ljava/lang/String;)Ljava/io/Serializable;

    move-result-object v0

    check-cast v0, Lcom/waiqin365/lightapp/syorder/d/b;

    if-eqz v0, :cond_0

    iget-object v1, p0, Lcom/waiqin365/lightapp/syorder/product/SyProductSelectActivity;->w:Lcom/waiqin365/lightapp/syorder/product/a/m;

    invoke-virtual {v1, v0}, Lcom/waiqin365/lightapp/syorder/product/a/m;->a(Lcom/waiqin365/lightapp/syorder/d/b;)V

    iget-object v0, p0, Lcom/waiqin365/lightapp/syorder/product/SyProductSelectActivity;->w:Lcom/waiqin365/lightapp/syorder/product/a/m;

    invoke-virtual {v0}, Lcom/waiqin365/lightapp/syorder/product/a/m;->notifyDataSetChanged()V

    goto :goto_0

    nop

    :sswitch_data_0
    .sparse-switch
        0x66 -> :sswitch_0
        0x3ea -> :sswitch_2
        0x4d2 -> :sswitch_1
    .end sparse-switch
.end method

.method public onClick(Landroid/view/View;)V
    .locals 3

    invoke-virtual {p1}, Landroid/view/View;->getId()I

    move-result v0

    sparse-switch v0, :sswitch_data_0

    :goto_0
    return-void

    :sswitch_0
    invoke-virtual {p0}, Lcom/waiqin365/lightapp/syorder/product/SyProductSelectActivity;->finish()V

    goto :goto_0

    :sswitch_1
    invoke-static {}, Lcom/waiqin365/lightapp/syorder/ap;->a()Lcom/waiqin365/lightapp/syorder/ap;

    move-result-object v0

    iget-object v1, p0, Lcom/waiqin365/lightapp/syorder/product/SyProductSelectActivity;->mContext:Landroid/content/Context;

    invoke-virtual {v0, v1}, Lcom/waiqin365/lightapp/syorder/ap;->a(Landroid/content/Context;)Z

    move-result v0

    if-eqz v0, :cond_0

    invoke-static {}, Lcom/waiqin365/lightapp/syorder/ap;->a()Lcom/waiqin365/lightapp/syorder/ap;

    move-result-object v0

    iget-object v1, p0, Lcom/waiqin365/lightapp/syorder/product/SyProductSelectActivity;->mContext:Landroid/content/Context;

    const/4 v2, 0x0

    invoke-virtual {v0, v1, v2}, Lcom/waiqin365/lightapp/syorder/ap;->a(Landroid/content/Context;Z)V

    :goto_1
    invoke-direct {p0}, Lcom/waiqin365/lightapp/syorder/product/SyProductSelectActivity;->c()V

    iget-object v0, p0, Lcom/waiqin365/lightapp/syorder/product/SyProductSelectActivity;->w:Lcom/waiqin365/lightapp/syorder/product/a/m;

    invoke-static {}, Lcom/waiqin365/lightapp/syorder/ap;->a()Lcom/waiqin365/lightapp/syorder/ap;

    move-result-object v1

    iget-object v2, p0, Lcom/waiqin365/lightapp/syorder/product/SyProductSelectActivity;->mContext:Landroid/content/Context;

    invoke-virtual {v1, v2}, Lcom/waiqin365/lightapp/syorder/ap;->a(Landroid/content/Context;)Z

    move-result v1

    invoke-virtual {v0, v1}, Lcom/waiqin365/lightapp/syorder/product/a/m;->b(Z)V

    iget-object v0, p0, Lcom/waiqin365/lightapp/syorder/product/SyProductSelectActivity;->w:Lcom/waiqin365/lightapp/syorder/product/a/m;

    invoke-virtual {v0}, Lcom/waiqin365/lightapp/syorder/product/a/m;->notifyDataSetChanged()V

    goto :goto_0

    :cond_0
    invoke-static {}, Lcom/waiqin365/lightapp/syorder/ap;->a()Lcom/waiqin365/lightapp/syorder/ap;

    move-result-object v0

    iget-object v1, p0, Lcom/waiqin365/lightapp/syorder/product/SyProductSelectActivity;->mContext:Landroid/content/Context;

    const/4 v2, 0x1

    invoke-virtual {v0, v1, v2}, Lcom/waiqin365/lightapp/syorder/ap;->a(Landroid/content/Context;Z)V

    goto :goto_1

    :sswitch_2
    iget-object v0, p0, Lcom/waiqin365/lightapp/syorder/product/SyProductSelectActivity;->w:Lcom/waiqin365/lightapp/syorder/product/a/m;

    invoke-virtual {v0}, Lcom/waiqin365/lightapp/syorder/product/a/m;->c()Ljava/util/List;

    move-result-object v0

    invoke-direct {p0, v0}, Lcom/waiqin365/lightapp/syorder/product/SyProductSelectActivity;->b(Ljava/util/List;)V

    goto :goto_0

    :sswitch_3
    const-string/jumbo v0, ""

    invoke-direct {p0, v0}, Lcom/waiqin365/lightapp/syorder/product/SyProductSelectActivity;->c(Ljava/lang/String;)V

    goto :goto_0

    :sswitch_4
    new-instance v0, Landroid/content/Intent;

    iget-object v1, p0, Lcom/waiqin365/lightapp/syorder/product/SyProductSelectActivity;->mContext:Landroid/content/Context;

    const-class v2, Lcom/waiqin365/base/qr/OrderCaptureActivity;

    invoke-direct {v0, v1, v2}, Landroid/content/Intent;-><init>(Landroid/content/Context;Ljava/lang/Class;)V

    const/16 v1, 0x66

    invoke-virtual {p0, v0, v1}, Lcom/waiqin365/lightapp/syorder/product/SyProductSelectActivity;->startActivityForResult(Landroid/content/Intent;I)V

    goto :goto_0

    nop

    :sswitch_data_0
    .sparse-switch
        0x7f0c0089 -> :sswitch_0
        0x7f0c008a -> :sswitch_0
        0x7f0c008e -> :sswitch_1
        0x7f0c0090 -> :sswitch_1
        0x7f0c0504 -> :sswitch_2
        0x7f0c09fc -> :sswitch_3
        0x7f0c09fd -> :sswitch_4
    .end sparse-switch
.end method

.method protected onCreate(Landroid/os/Bundle;)V
    .locals 2

    invoke-super {p0, p1}, Lcom/waiqin365/lightapp/base/WqBaseActivity;->onCreate(Landroid/os/Bundle;)V

    const v0, 0x7f03025d

    invoke-virtual {p0, v0}, Lcom/waiqin365/lightapp/syorder/product/SyProductSelectActivity;->setContentView(I)V

    invoke-virtual {p0}, Lcom/waiqin365/lightapp/syorder/product/SyProductSelectActivity;->getResources()Landroid/content/res/Resources;

    move-result-object v0

    const v1, 0x7f090034

    invoke-virtual {v0, v1}, Landroid/content/res/Resources;->getDimensionPixelOffset(I)I

    move-result v0

    int-to-float v0, v0

    iput v0, p0, Lcom/waiqin365/lightapp/syorder/product/SyProductSelectActivity;->a:F

    invoke-virtual {p0}, Lcom/waiqin365/lightapp/syorder/product/SyProductSelectActivity;->getResources()Landroid/content/res/Resources;

    move-result-object v0

    const v1, 0x7f090033

    invoke-virtual {v0, v1}, Landroid/content/res/Resources;->getDimensionPixelOffset(I)I

    move-result v0

    iput v0, p0, Lcom/waiqin365/lightapp/syorder/product/SyProductSelectActivity;->b:I

    invoke-virtual {p0}, Lcom/waiqin365/lightapp/syorder/product/SyProductSelectActivity;->getResources()Landroid/content/res/Resources;

    move-result-object v0

    const v1, 0x7f090030

    invoke-virtual {v0, v1}, Landroid/content/res/Resources;->getDimensionPixelOffset(I)I

    move-result v0

    iput v0, p0, Lcom/waiqin365/lightapp/syorder/product/SyProductSelectActivity;->c:I

    invoke-virtual {p0}, Lcom/waiqin365/lightapp/syorder/product/SyProductSelectActivity;->getResources()Landroid/content/res/Resources;

    move-result-object v0

    const v1, 0x7f090031

    invoke-virtual {v0, v1}, Landroid/content/res/Resources;->getDimensionPixelOffset(I)I

    move-result v0

    iput v0, p0, Lcom/waiqin365/lightapp/syorder/product/SyProductSelectActivity;->d:I

    invoke-virtual {p0}, Lcom/waiqin365/lightapp/syorder/product/SyProductSelectActivity;->getResources()Landroid/content/res/Resources;

    move-result-object v0

    const v1, 0x7f090032

    invoke-virtual {v0, v1}, Landroid/content/res/Resources;->getDimensionPixelOffset(I)I

    move-result v0

    iput v0, p0, Lcom/waiqin365/lightapp/syorder/product/SyProductSelectActivity;->e:I

    new-instance v0, Lcom/waiqin365/lightapp/syorder/product/v;

    invoke-direct {v0, p0}, Lcom/waiqin365/lightapp/syorder/product/v;-><init>(Lcom/waiqin365/lightapp/syorder/product/SyProductSelectActivity;)V

    iput-object v0, p0, Lcom/waiqin365/lightapp/syorder/product/SyProductSelectActivity;->C:Lcom/waiqin365/lightapp/syorder/product/v;

    invoke-virtual {p0}, Lcom/waiqin365/lightapp/syorder/product/SyProductSelectActivity;->getIntent()Landroid/content/Intent;

    move-result-object v0

    const-string/jumbo v1, "param"

    invoke-virtual {v0, v1}, Landroid/content/Intent;->getSerializableExtra(Ljava/lang/String;)Ljava/io/Serializable;

    move-result-object v0

    check-cast v0, Lcom/waiqin365/lightapp/syorder/product/b/a;

    iput-object v0, p0, Lcom/waiqin365/lightapp/syorder/product/SyProductSelectActivity;->o:Lcom/waiqin365/lightapp/syorder/product/b/a;

    iget-object v0, p0, Lcom/waiqin365/lightapp/syorder/product/SyProductSelectActivity;->o:Lcom/waiqin365/lightapp/syorder/product/b/a;

    if-nez v0, :cond_0

    new-instance v0, Lcom/waiqin365/lightapp/syorder/product/b/a;

    invoke-direct {v0}, Lcom/waiqin365/lightapp/syorder/product/b/a;-><init>()V

    iput-object v0, p0, Lcom/waiqin365/lightapp/syorder/product/SyProductSelectActivity;->o:Lcom/waiqin365/lightapp/syorder/product/b/a;

    :cond_0
    iget-object v0, p0, Lcom/waiqin365/lightapp/syorder/product/SyProductSelectActivity;->o:Lcom/waiqin365/lightapp/syorder/product/b/a;

    iget-object v0, v0, Lcom/waiqin365/lightapp/syorder/product/b/a;->d:Lcom/waiqin365/lightapp/syorder/product/b/b;

    if-nez v0, :cond_1

    iget-object v0, p0, Lcom/waiqin365/lightapp/syorder/product/SyProductSelectActivity;->o:Lcom/waiqin365/lightapp/syorder/product/b/a;

    new-instance v1, Lcom/waiqin365/lightapp/syorder/product/b/b;

    invoke-direct {v1}, Lcom/waiqin365/lightapp/syorder/product/b/b;-><init>()V

    iput-object v1, v0, Lcom/waiqin365/lightapp/syorder/product/b/a;->d:Lcom/waiqin365/lightapp/syorder/product/b/b;

    :cond_1
    invoke-direct {p0}, Lcom/waiqin365/lightapp/syorder/product/SyProductSelectActivity;->a()V

    invoke-direct {p0}, Lcom/waiqin365/lightapp/syorder/product/SyProductSelectActivity;->d()V

    const/4 v0, 0x0

    invoke-direct {p0, v0}, Lcom/waiqin365/lightapp/syorder/product/SyProductSelectActivity;->a(I)V

    invoke-static {}, Lcom/fiberhome/gaea/client/a/b;->a()Lcom/fiberhome/gaea/client/a/b;

    move-result-object v0

    invoke-virtual {v0, p0}, Lcom/fiberhome/gaea/client/a/b;->addObserver(Ljava/util/Observer;)V

    iget-object v0, p0, Lcom/waiqin365/lightapp/syorder/product/SyProductSelectActivity;->o:Lcom/waiqin365/lightapp/syorder/product/b/a;

    iget-object v0, v0, Lcom/waiqin365/lightapp/syorder/product/b/a;->j:Ljava/lang/String;

    invoke-static {v0}, Landroid/text/TextUtils;->isEmpty(Ljava/lang/CharSequence;)Z

    move-result v0

    if-nez v0, :cond_2

    const/4 v0, 0x1

    iput-boolean v0, p0, Lcom/waiqin365/lightapp/syorder/product/SyProductSelectActivity;->A:Z

    iget-object v0, p0, Lcom/waiqin365/lightapp/syorder/product/SyProductSelectActivity;->o:Lcom/waiqin365/lightapp/syorder/product/b/a;

    iget-object v0, v0, Lcom/waiqin365/lightapp/syorder/product/b/a;->j:Ljava/lang/String;

    invoke-direct {p0, v0}, Lcom/waiqin365/lightapp/syorder/product/SyProductSelectActivity;->c(Ljava/lang/String;)V

    :goto_0
    return-void

    :cond_2
    const-string/jumbo v0, ""

    invoke-virtual {p0, v0}, Lcom/waiqin365/lightapp/syorder/product/SyProductSelectActivity;->showProgressDialog(Ljava/lang/String;)V

    iget-object v0, p0, Lcom/waiqin365/lightapp/syorder/product/SyProductSelectActivity;->h:Lcom/waiqin365/lightapp/dailyreport/view/CustomListview;

    invoke-virtual {v0}, Lcom/waiqin365/lightapp/dailyreport/view/CustomListview;->e()V

    goto :goto_0
.end method

.method public update(Ljava/util/Observable;Ljava/lang/Object;)V
    .locals 3

    invoke-super {p0, p1, p2}, Lcom/waiqin365/lightapp/base/WqBaseActivity;->update(Ljava/util/Observable;Ljava/lang/Object;)V

    instance-of v0, p2, Lcom/fiberhome/gaea/client/a/c;

    if-eqz v0, :cond_1

    move-object v0, p2

    check-cast v0, Lcom/fiberhome/gaea/client/a/c;

    const-string/jumbo v1, "has_data"

    iget-object v2, v0, Lcom/fiberhome/gaea/client/a/c;->a:Ljava/lang/String;

    invoke-virtual {v1, v2}, Ljava/lang/String;->equals(Ljava/lang/Object;)Z

    move-result v1

    if-eqz v1, :cond_1

    iget-object v1, v0, Lcom/fiberhome/gaea/client/a/c;->c:Ljava/util/List;

    invoke-interface {v1}, Ljava/util/List;->size()I

    move-result v1

    if-eqz v1, :cond_0

    iget-object v0, v0, Lcom/fiberhome/gaea/client/a/c;->c:Ljava/util/List;

    invoke-virtual {p0}, Ljava/lang/Object;->getClass()Ljava/lang/Class;

    move-result-object v1

    invoke-interface {v0, v1}, Ljava/util/List;->contains(Ljava/lang/Object;)Z

    move-result v0

    if-eqz v0, :cond_1

    :cond_0
    check-cast p2, Lcom/fiberhome/gaea/client/a/c;

    iget-object v0, p2, Lcom/fiberhome/gaea/client/a/c;->b:Ljava/lang/Object;

    check-cast v0, Ljava/util/List;

    invoke-direct {p0, v0}, Lcom/waiqin365/lightapp/syorder/product/SyProductSelectActivity;->b(Ljava/util/List;)V

    :cond_1
    return-void
.end method
